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: "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck",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.005679/0.005679, allocations: 176.2 kB / 7.452 MB, free: 2.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7384/0.7384, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.763/1.763, allocations: 221.3 MB / 395 MB, free: 10.18 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.0009672/0.0009671, allocations: 98.77 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5403/0.5413, allocations: 88.42 MB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.7709, allocations: 82.3 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8649/1.636, allocations: 339.7 MB / 0.965 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/1.636, allocations: 69.83 kB / 0.9651 GB, free: 7.062 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.4266/2.063, allocations: 13.36 MB / 0.9781 GB, free: 264.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/2.063, allocations: 7.781 kB / 0.9781 GB, free: 264.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/2.063, allocations: 7.781 kB / 0.9781 GB, free: 264.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/2.063, allocations: 166.5 kB / 0.9783 GB, free: 264.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/2.063, allocations: 3.781 kB / 0.9783 GB, free: 264.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/2.063, allocations: 15.56 kB / 0.9783 GB, free: 264.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.26e-05/2.063, allocations: 11.06 kB / 0.9783 GB, free: 264.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.222e-05/2.063, allocations: 44.11 kB / 0.9784 GB, free: 264.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/2.063, allocations: 0 / 0.9784 GB, free: 264.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/2.063, allocations: 0 / 0.9784 GB, free: 264.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/2.063, allocations: 2.594 kB / 0.9784 GB, free: 264.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/2.064, allocations: 141 kB / 0.9785 GB, free: 264.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.313e-05/2.064, allocations: 40.64 kB / 0.9785 GB, free: 264.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/2.064, allocations: 23.23 kB / 0.9786 GB, free: 264.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005942/2.064, allocations: 0.6019 MB / 0.9791 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/2.064, allocations: 38 kB / 0.9792 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/2.064, allocations: 0 / 0.9792 GB, free: 263.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000482/2.065, allocations: 281.4 kB / 0.9795 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.684e-05/2.065, allocations: 55.34 kB / 0.9795 GB, free: 263.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.255e-05/2.065, allocations: 94.78 kB / 0.9796 GB, free: 263.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/2.065, allocations: 29.58 kB / 0.9796 GB, free: 263 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.705e-05/2.065, allocations: 84.05 kB / 0.9797 GB, free: 263 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/2.065, allocations: 30.7 kB / 0.9797 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/2.065, allocations: 3.938 kB / 0.9797 GB, free: 262.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.229e-05/2.065, allocations: 313.2 kB / 0.98 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.023e-05/2.065, allocations: 16.91 kB / 0.98 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-05/2.065, allocations: 47.92 kB / 0.9801 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/2.065, allocations: 13.67 kB / 0.9801 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/2.065, allocations: 0 / 0.9801 GB, free: 262.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001031/2.065, allocations: 90.38 kB / 0.9802 GB, free: 262.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/2.065, allocations: 3.688 kB / 0.9802 GB, free: 262.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/2.065, allocations: 0 / 0.9802 GB, free: 262.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/2.065, allocations: 3.969 kB / 0.9802 GB, free: 262.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-05/2.065, allocations: 18.28 kB / 0.9802 GB, free: 262.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/2.065, allocations: 11.7 kB / 0.9802 GB, free: 262.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/2.065, allocations: 0 / 0.9802 GB, free: 262.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/2.065, allocations: 5.188 kB / 0.9802 GB, free: 262.5 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 5.383e-05/2.066, allocations: 109 kB / 0.9803 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/2.066, allocations: 3.906 kB / 0.9803 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/2.066, allocations: 11.19 kB / 0.9804 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/2.066, allocations: 0 / 0.9804 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/2.066, allocations: 0 / 0.9804 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/2.066, allocations: 0 / 0.9804 GB, free: 262.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/2.066, allocations: 155.5 kB / 0.9805 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/2.066, allocations: 0 / 0.9805 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.972e-05/2.066, allocations: 19.55 kB / 0.9805 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/2.066, allocations: 0 / 0.9805 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/2.066, allocations: 4.625 kB / 0.9805 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/2.066, allocations: 3.969 kB / 0.9805 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/2.066, allocations: 0 / 0.9805 GB, free: 262.2 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001331/2.066, allocations: 165.7 kB / 0.9807 GB, free: 262.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001829/2.066, allocations: 0.5443 MB / 0.9812 GB, free: 261.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/2.066, allocations: 89.02 kB / 0.9813 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/2.066, allocations: 3.969 kB / 0.9813 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/2.067, allocations: 7.938 kB / 0.9813 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/2.067, allocations: 7.672 kB / 0.9813 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/2.067, allocations: 7.688 kB / 0.9813 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.922e-05/2.067, allocations: 79.25 kB / 0.9814 GB, free: 261.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008379/2.067, allocations: 15.69 kB / 0.9814 GB, free: 261.4 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.0001542/2.068, allocations: 128.1 kB / 0.9815 GB, free: 261.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.945e-05/2.068, allocations: 36.56 kB / 0.9816 GB, free: 261.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/2.068, allocations: 256 / 0.9816 GB, free: 261.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.671e-05/2.068, allocations: 18.5 kB / 0.9816 GB, free: 261.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/2.068, allocations: 6.406 kB / 0.9816 GB, free: 261.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/2.068, allocations: 250.4 kB / 0.9818 GB, free: 261.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/2.069, allocations: 0.705 MB / 0.9825 GB, free: 260.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/2.069, allocations: 0 / 0.9825 GB, free: 260.4 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1)