Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.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.Interfaces.Examples.ConservationEquation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ConservationEquation",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.003848/0.003848, allocations: 183 kB / 7.459 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7899/0.7899, allocations: 133.5 MB / 141.3 MB, free: 15.67 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.515/1.515, 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.0009856/0.0009854, allocations: 94.89 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4471/0.4481, allocations: 88.43 MB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.6327, allocations: 82.3 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.843, allocations: 362.3 MB / 0.9871 GB, free: 231.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/1.844, allocations: 90.34 kB / 0.9872 GB, free: 231.9 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.9793/2.823, allocations: 259.6 MB / 1.241 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/2.823, allocations: 11.19 kB / 1.241 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008434/2.824, allocations: 189.1 kB / 1.241 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02819/2.852, allocations: 12.06 MB / 1.253 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003288/2.853, allocations: 85.61 kB / 1.253 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.297e-05/2.853, allocations: 27.91 kB / 1.253 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005696/2.853, allocations: 300 kB / 1.253 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006001/2.854, allocations: 405.8 kB / 1.253 GB, free: 151 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/2.854, allocations: 4.328 kB / 1.253 GB, free: 151 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/2.854, allocations: 7.281 kB / 1.253 GB, free: 151 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/2.854, allocations: 14.7 kB / 1.253 GB, free: 151 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003025/2.857, allocations: 2.223 MB / 1.256 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/2.858, allocations: 257.9 kB / 1.256 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/2.858, allocations: 178.5 kB / 1.256 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/2.858, allocations: 342.8 kB / 1.256 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000345/2.858, allocations: 245.2 kB / 1.257 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 5.029e-06/2.858, allocations: 0 / 1.257 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001343/2.86, allocations: 442.2 kB / 1.257 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/2.86, allocations: 84.92 kB / 1.257 GB, free: 149 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004108/2.86, allocations: 371.2 kB / 1.257 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/2.86, allocations: 25.7 kB / 1.258 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/2.861, allocations: 213.9 kB / 1.258 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.73e-05/2.861, allocations: 102.8 kB / 1.258 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/2.861, allocations: 3.406 kB / 1.258 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001033/2.861, allocations: 366.2 kB / 1.258 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/2.861, allocations: 118.6 kB / 1.258 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/2.861, allocations: 223 kB / 1.258 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/2.862, allocations: 166.2 kB / 1.259 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/2.862, allocations: 1.969 kB / 1.259 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008959/2.862, allocations: 476.6 kB / 1.259 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002019/2.863, allocations: 0.6087 MB / 1.26 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/2.863, allocations: 6.719 kB / 1.26 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002272/2.863, allocations: 48.08 kB / 1.26 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/2.863, allocations: 88.02 kB / 1.26 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000578/2.864, allocations: 0.6098 MB / 1.26 GB, free: 147 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000671/2.865, allocations: 73.56 kB / 1.26 GB, free: 147 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-05/2.865, allocations: 18.12 kB / 1.261 GB, free: 147 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/2.865, allocations: 6.75 kB / 1.261 GB, free: 147 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007301/2.865, allocations: 377.8 kB / 1.261 GB, free: 147 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/2.865, allocations: 3.703 kB / 1.261 GB, free: 147 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/2.866, allocations: 48.7 kB / 1.261 GB, free: 147 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/2.866, allocations: 88.09 kB / 1.261 GB, free: 147 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/2.867, allocations: 1.498 MB / 1.262 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/2.868, allocations: 66.55 kB / 1.263 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-05/2.868, allocations: 25.36 kB / 1.263 GB, free: 145.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000204/2.868, allocations: 150.1 kB / 1.263 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/2.868, allocations: 52.97 kB / 1.263 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/2.869, allocations: 495.1 kB / 1.263 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/2.869, allocations: 6.531 kB / 1.263 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/2.869, allocations: 0 / 1.263 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007913/2.87, allocations: 0.6582 MB / 1.264 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/2.872, allocations: 1.092 MB / 1.265 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/2.872, allocations: 2.812 kB / 1.265 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/2.872, allocations: 78.66 kB / 1.265 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001016/2.872, allocations: 38.91 kB / 1.265 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/2.872, allocations: 12.36 kB / 1.265 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002836/2.873, allocations: 0.5777 MB / 1.266 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.873, allocations: 7.5 kB / 1.266 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001045/2.874, allocations: 0.8033 MB / 1.266 GB, free: 144 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001359/2.875, allocations: 1.424 MB / 1.268 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/2.875, allocations: 185.7 kB / 1.268 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.507e-05/2.876, allocations: 3.75 kB / 1.268 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/2.876, allocations: 67.03 kB / 1.268 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/2.876, allocations: 23.48 kB / 1.268 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/2.876, allocations: 23.88 kB / 1.268 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0003231/2.877, allocations: 291.3 kB / 1.268 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002725/2.879, allocations: 442.4 kB / 1.269 GB, free: 143.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/2.88, allocations: 427.1 kB / 1.269 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001408/2.882, allocations: 0.7117 MB / 1.27 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/2.882, allocations: 0 / 1.27 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000313/2.882, allocations: 235.2 kB / 1.27 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/2.884, allocations: 210.2 kB / 1.27 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/2.885, allocations: 0.7885 MB / 1.271 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/2.886, allocations: 0.9481 MB / 1.272 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of SimCode: time 6.51e-07/2.886, allocations: 3.938 kB / 1.272 GB, free: 141.9 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_ConservationEquation.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)