Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example5",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.003104/0.003104, allocations: 177.8 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7084/0.7084, 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.671/1.671, allocations: 221.3 MB / 395 MB, free: 10.12 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.00145/0.00145, allocations: 102 kB / 477.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5394/0.541, allocations: 88.42 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.7668, allocations: 82.3 MB / 0.6333 GB, free: 13.92 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.678/1.445, allocations: 109.7 MB / 0.7404 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/1.445, allocations: 67.84 kB / 0.7405 GB, free: 10.54 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001499/1.447, allocations: 485 kB / 0.7409 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.447, allocations: 13.56 kB / 0.7409 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/1.447, allocations: 3.906 kB / 0.7409 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/1.447, allocations: 171.5 kB / 0.7411 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/1.447, allocations: 1.094 kB / 0.7411 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/1.447, allocations: 7.906 kB / 0.7411 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.554e-05/1.447, allocations: 5.531 kB / 0.7411 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.19e-05/1.447, allocations: 34.88 kB / 0.7412 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/1.447, allocations: 0 / 0.7412 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/1.447, allocations: 0 / 0.7412 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.447, allocations: 0 / 0.7412 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/1.448, allocations: 134 kB / 0.7413 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.048e-05/1.448, allocations: 18.42 kB / 0.7413 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/1.448, allocations: 21.09 kB / 0.7413 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/1.448, allocations: 1.641 kB / 0.7413 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/1.448, allocations: 32.25 kB / 0.7414 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/1.448, allocations: 0 / 0.7414 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001722/1.448, allocations: 44.97 kB / 0.7414 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/1.448, allocations: 55.28 kB / 0.7415 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/1.448, allocations: 99.97 kB / 0.7415 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/1.448, allocations: 29.73 kB / 0.7416 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/1.448, allocations: 81.78 kB / 0.7417 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/1.448, allocations: 7.219 kB / 0.7417 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/1.448, allocations: 0 / 0.7417 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.448, allocations: 316.2 kB / 0.742 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/1.448, allocations: 3.969 kB / 0.742 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/1.448, allocations: 15.33 kB / 0.742 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.454e-05/1.448, allocations: 14.12 kB / 0.742 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.448, allocations: 3.938 kB / 0.742 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.826e-05/1.448, allocations: 45.3 kB / 0.742 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/1.449, allocations: 3.844 kB / 0.742 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/1.449, allocations: 0 / 0.742 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/1.449, allocations: 3.812 kB / 0.742 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/1.449, allocations: 1.172 kB / 0.742 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/1.449, allocations: 7.781 kB / 0.7421 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/1.449, allocations: 4 kB / 0.7421 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/1.449, allocations: 4 kB / 0.7421 GB, free: 25.02 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 (2): * Single equations (assignments): 2 * 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 0.0001015/1.449, allocations: 106.2 kB / 0.7422 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/1.449, allocations: 3.875 kB / 0.7422 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/1.449, allocations: 52.69 kB / 0.7422 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.449, allocations: 5.062 kB / 0.7422 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.449, allocations: 0 / 0.7422 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/1.449, allocations: 3.984 kB / 0.7422 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/1.449, allocations: 129.7 kB / 0.7424 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.449, allocations: 4.031 kB / 0.7424 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.886e-05/1.449, allocations: 6.562 kB / 0.7424 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.449, allocations: 0 / 0.7424 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.449, allocations: 0 / 0.7424 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/1.449, allocations: 3.906 kB / 0.7424 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.449, allocations: 3.969 kB / 0.7424 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000132/1.449, allocations: 78.25 kB / 0.7424 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002485/1.45, allocations: 475.8 kB / 0.7429 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.45, allocations: 81.02 kB / 0.743 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/1.45, allocations: 0 / 0.743 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.471e-05/1.45, allocations: 1.547 kB / 0.743 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/1.45, allocations: 7.031 kB / 0.743 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/1.45, allocations: 0 / 0.743 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.782e-05/1.45, allocations: 88.52 kB / 0.7431 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000755/1.451, allocations: 5.422 kB / 0.7431 GB, free: 24.01 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001742/1.451, allocations: 99.92 kB / 0.7432 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.952e-05/1.451, allocations: 9.344 kB / 0.7432 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/1.451, allocations: 3.438 kB / 0.7432 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/1.451, allocations: 13.08 kB / 0.7432 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001225/1.451, allocations: 3.906 kB / 0.7432 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/1.451, allocations: 76.95 kB / 0.7433 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/1.452, allocations: 0.6972 MB / 0.744 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/1.452, allocations: 0 / 0.744 GB, free: 23.13 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)