Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004976/0.004976, allocations: 181.6 kB / 7.456 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7644/0.7644, allocations: 133.5 MB / 141.4 MB, free: 15.62 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 221.3 MB / 395 MB, free: 10.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009371/0.0009371, allocations: 93.55 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4833/0.4843, allocations: 88.44 MB / 0.5529 GB, free: 88.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.6922, allocations: 82.3 MB / 0.6333 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6015/1.294, allocations: 110.3 MB / 0.741 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/1.294, allocations: 74.72 kB / 0.7411 GB, free: 10.61 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.006038/1.3, allocations: 1.867 MB / 0.7429 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.3, allocations: 12.48 kB / 0.7429 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/1.3, allocations: 3.906 kB / 0.7429 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/1.3, allocations: 164.1 kB / 0.7431 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/1.3, allocations: 0 / 0.7431 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/1.3, allocations: 0 / 0.7431 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.801e-05/1.3, allocations: 7.781 kB / 0.7431 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.985e-05/1.301, allocations: 38.64 kB / 0.7431 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-06/1.301, allocations: 0 / 0.7431 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/1.301, allocations: 5.5 kB / 0.7431 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/1.301, allocations: 0 / 0.7431 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/1.301, allocations: 132.6 kB / 0.7433 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.237e-05/1.301, allocations: 26.28 kB / 0.7433 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/1.301, allocations: 10.55 kB / 0.7433 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006524/1.302, allocations: 0.5745 MB / 0.7439 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/1.302, allocations: 30.56 kB / 0.7439 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/1.302, allocations: 0 / 0.7439 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0006448/1.302, allocations: 248 kB / 0.7441 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/1.302, allocations: 55.34 kB / 0.7442 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.814e-05/1.302, allocations: 90.12 kB / 0.7443 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/1.302, allocations: 25.7 kB / 0.7443 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/1.302, allocations: 83.77 kB / 0.7444 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/1.302, allocations: 12.67 kB / 0.7444 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/1.303, allocations: 4.781 kB / 0.7444 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001391/1.303, allocations: 313.1 kB / 0.7447 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.671e-05/1.303, allocations: 7.25 kB / 0.7447 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.226e-05/1.303, allocations: 17.53 kB / 0.7447 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.758e-05/1.303, allocations: 8.469 kB / 0.7447 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/1.303, allocations: 3.844 kB / 0.7447 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.939e-05/1.303, allocations: 44.36 kB / 0.7448 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/1.303, allocations: 15.62 kB / 0.7448 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/1.303, allocations: 0 / 0.7448 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/1.303, allocations: 0 / 0.7448 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/1.303, allocations: 16.78 kB / 0.7448 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/1.303, allocations: 0 / 0.7448 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.475e-05/1.303, allocations: 0 / 0.7448 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/1.303, allocations: 3.969 kB / 0.7448 GB, free: 24.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.136e-05/1.303, allocations: 102.6 kB / 0.7449 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/1.303, allocations: 3.906 kB / 0.7449 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/1.303, allocations: 58.06 kB / 0.745 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/1.303, allocations: 0 / 0.745 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.303, allocations: 0 / 0.745 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/1.303, allocations: 0 / 0.745 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/1.303, allocations: 133.9 kB / 0.7451 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/1.303, allocations: 2.5 kB / 0.7451 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/1.304, allocations: 9.531 kB / 0.7451 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/1.304, allocations: 7.844 kB / 0.7451 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/1.304, allocations: 0 / 0.7451 GB, free: 23.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/1.304, allocations: 4 kB / 0.7451 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.304, allocations: 0 / 0.7451 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001405/1.304, allocations: 76.28 kB / 0.7452 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000233/1.304, allocations: 462.5 kB / 0.7456 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/1.304, allocations: 85.05 kB / 0.7457 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/1.304, allocations: 5.391 kB / 0.7457 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.6e-05/1.304, allocations: 7.875 kB / 0.7457 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/1.304, allocations: 5.062 kB / 0.7457 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/1.304, allocations: 0 / 0.7457 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.471e-05/1.304, allocations: 78.59 kB / 0.7458 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000769/1.305, allocations: 41.89 kB / 0.7458 GB, free: 23.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002644/1.305, allocations: 128.2 kB / 0.746 GB, free: 23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.302e-05/1.305, allocations: 16.28 kB / 0.746 GB, free: 23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.305, allocations: 4.062 kB / 0.746 GB, free: 23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.284e-05/1.305, allocations: 7.594 kB / 0.746 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/1.305, allocations: 7.75 kB / 0.746 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/1.306, allocations: 67.62 kB / 0.7461 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/1.306, allocations: 0.6949 MB / 0.7467 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/1.306, allocations: 0 / 0.7467 GB, free: 22.22 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1)