Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.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: translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") translateModel(IDEAS.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck") [: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.002105/0.002105, allocations: 178.8 kB / 7.454 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6073/0.6073, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.155/1.155, allocations: 221.3 MB / 395 MB, free: 10.22 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.0008565/0.0008561, allocations: 100.6 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.432e-06, allocations: 2.5 kB / 0.5528 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 82.3 MB / 0.6332 GB, free: 14.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5245/0.6391, allocations: 339.7 MB / 0.9649 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.6394, allocations: 65.53 kB / 0.965 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.2757/0.9151, allocations: 13.02 MB / 0.9777 GB, free: 206.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.9151, allocations: 4 kB / 0.9777 GB, free: 206.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002013/0.9153, allocations: 335.3 kB / 0.978 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.9154, allocations: 7.938 kB / 0.978 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.884e-05/0.9155, allocations: 10.72 kB / 0.978 GB, free: 206.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.865e-05/0.9155, allocations: 161.9 kB / 0.9782 GB, free: 206 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.9156, allocations: 0 / 0.9782 GB, free: 206 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.9156, allocations: 8.656 kB / 0.9782 GB, free: 206 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.653e-05/0.9156, allocations: 22.52 kB / 0.9782 GB, free: 206 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.115e-05/0.9157, allocations: 53.2 kB / 0.9783 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.9157, allocations: 0 / 0.9783 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.9158, allocations: 0 / 0.9783 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.9158, allocations: 3.938 kB / 0.9783 GB, free: 205.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.9159, allocations: 140.7 kB / 0.9784 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.012e-05/0.9159, allocations: 37.47 kB / 0.9784 GB, free: 205.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.916, allocations: 17.78 kB / 0.9785 GB, free: 205.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004833/0.9164, allocations: 0.6153 MB / 0.9791 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.9165, allocations: 30.56 kB / 0.9791 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.9165, allocations: 5.438 kB / 0.9791 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004066/0.9169, allocations: 271.7 kB / 0.9794 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.411e-05/0.9169, allocations: 54.97 kB / 0.9794 GB, free: 204.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.727e-05/0.917, allocations: 95.03 kB / 0.9795 GB, free: 204.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.917, allocations: 25.7 kB / 0.9795 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.119e-05/0.917, allocations: 85.3 kB / 0.9796 GB, free: 204.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.917, allocations: 31.36 kB / 0.9796 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.917, allocations: 0 / 0.9796 GB, free: 204.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.315e-05/0.9171, allocations: 312.5 kB / 0.9799 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.9171, allocations: 11.06 kB / 0.9799 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.383e-05/0.9171, allocations: 55.86 kB / 0.98 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.953e-05/0.9172, allocations: 16.89 kB / 0.98 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.9172, allocations: 0 / 0.98 GB, free: 204.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.443e-05/0.9173, allocations: 88.39 kB / 0.9801 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.9173, allocations: 8.062 kB / 0.9801 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.9173, allocations: 0 / 0.9801 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.9173, allocations: 3.938 kB / 0.9801 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.029e-05/0.9174, allocations: 22.72 kB / 0.9801 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.9174, allocations: 7.672 kB / 0.9801 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.444e-05/0.9174, allocations: 0 / 0.9801 GB, free: 204.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.9174, allocations: 3.875 kB / 0.9801 GB, free: 204.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 3.872e-05/0.9175, allocations: 101 kB / 0.9802 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.9175, allocations: 7.781 kB / 0.9802 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.9175, allocations: 13.31 kB / 0.9803 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.9175, allocations: 3.812 kB / 0.9803 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.9176, allocations: 0 / 0.9803 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9176, allocations: 7.938 kB / 0.9803 GB, free: 204 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.9177, allocations: 155.7 kB / 0.9804 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9177, allocations: 0 / 0.9804 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.287e-05/0.9178, allocations: 15.64 kB / 0.9804 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.9178, allocations: 0 / 0.9804 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.9179, allocations: 3.938 kB / 0.9804 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.9179, allocations: 3.938 kB / 0.9804 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9179, allocations: 0 / 0.9804 GB, free: 203.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001033/0.918, allocations: 168.3 kB / 0.9806 GB, free: 203.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.918, allocations: 88.75 kB / 0.9807 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.918, allocations: 3.938 kB / 0.9807 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/0.9181, allocations: 0 / 0.9807 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.9182, allocations: 7.484 kB / 0.9807 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.9182, allocations: 3.75 kB / 0.9807 GB, free: 203.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.457e-05/0.9182, allocations: 83.19 kB / 0.9808 GB, free: 203.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002134/0.9184, allocations: 15.75 kB / 0.9808 GB, free: 203.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001059/0.9185, allocations: 112.1 kB / 0.9809 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.287e-05/0.9186, allocations: 42.16 kB / 0.9809 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.9186, allocations: 0 / 0.9809 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.61e-05/0.9186, allocations: 17.28 kB / 0.981 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.9188, allocations: 12.59 kB / 0.981 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.9192, allocations: 259.3 kB / 0.9812 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.9193, allocations: 0.7006 MB / 0.9819 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.9193, allocations: 0 / 0.9819 GB, free: 202.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.002272/0.9215, allocations: 0.7983 MB / 0.9827 GB, free: 202.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)