Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_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.003529/0.003529, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7346/0.7346, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.625/1.625, allocations: 221.3 MB / 395 MB, free: 10.25 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.0009282/0.0009282, allocations: 94.42 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5169/0.5178, allocations: 88.43 MB / 0.5529 GB, free: 88.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.7155, allocations: 82.3 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6366/1.352, allocations: 109.7 MB / 0.7404 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/1.352, allocations: 65.91 kB / 0.7405 GB, free: 10.7 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.001486/1.354, allocations: 489 kB / 0.7409 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.354, allocations: 7.688 kB / 0.7409 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/1.354, allocations: 6.031 kB / 0.741 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/1.354, allocations: 177.9 kB / 0.7411 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/1.354, allocations: 0 / 0.7411 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/1.354, allocations: 7.781 kB / 0.7411 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.592e-05/1.354, allocations: 2.109 kB / 0.7411 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.295e-05/1.354, allocations: 34.91 kB / 0.7412 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/1.355, allocations: 3.938 kB / 0.7412 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/1.355, allocations: 0.7031 kB / 0.7412 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/1.355, allocations: 3.875 kB / 0.7412 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/1.355, allocations: 129.3 kB / 0.7413 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.843e-05/1.355, allocations: 23.94 kB / 0.7413 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/1.355, allocations: 12.64 kB / 0.7413 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/1.355, allocations: 0 / 0.7413 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/1.355, allocations: 38.11 kB / 0.7414 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/1.355, allocations: 0 / 0.7414 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001496/1.355, allocations: 40.81 kB / 0.7414 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/1.355, allocations: 55.34 kB / 0.7415 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.701e-05/1.355, allocations: 102.2 kB / 0.7416 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/1.355, allocations: 25.7 kB / 0.7416 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/1.355, allocations: 83.84 kB / 0.7417 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/1.355, allocations: 8.266 kB / 0.7417 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/1.355, allocations: 0 / 0.7417 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.355, allocations: 312.1 kB / 0.742 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/1.355, allocations: 4.406 kB / 0.742 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/1.355, allocations: 26.66 kB / 0.742 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.031e-05/1.355, allocations: 5.531 kB / 0.742 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.355, allocations: 0 / 0.742 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.542e-05/1.356, allocations: 45.17 kB / 0.742 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.356, allocations: 3.844 kB / 0.742 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.356, allocations: 3.875 kB / 0.7421 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/1.356, allocations: 0 / 0.7421 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.284e-05/1.356, allocations: 5.125 kB / 0.7421 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.356, allocations: 4.781 kB / 0.7421 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.407e-05/1.356, allocations: 4.562 kB / 0.7421 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/1.356, allocations: 0 / 0.7421 GB, free: 25.19 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 8.476e-05/1.356, allocations: 109.3 kB / 0.7422 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/1.356, allocations: 0.7969 kB / 0.7422 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/1.356, allocations: 56.55 kB / 0.7422 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.356, allocations: 1.188 kB / 0.7422 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.356, allocations: 0.6094 kB / 0.7422 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.356, allocations: 7.875 kB / 0.7422 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/1.356, allocations: 136.9 kB / 0.7424 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/1.356, allocations: 0 / 0.7424 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/1.356, allocations: 4.547 kB / 0.7424 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/1.356, allocations: 0 / 0.7424 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/1.356, allocations: 4.531 kB / 0.7424 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.356, allocations: 5.594 kB / 0.7424 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.356, allocations: 0 / 0.7424 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001283/1.356, allocations: 76.66 kB / 0.7425 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002618/1.357, allocations: 470.8 kB / 0.7429 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/1.357, allocations: 81.62 kB / 0.743 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/1.357, allocations: 0.6094 kB / 0.743 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.428e-05/1.357, allocations: 0.6094 kB / 0.743 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/1.357, allocations: 4.531 kB / 0.743 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/1.357, allocations: 4.188 kB / 0.743 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.429e-05/1.357, allocations: 89.19 kB / 0.7431 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007309/1.358, allocations: 4.562 kB / 0.7431 GB, free: 24.18 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.0001458/1.358, allocations: 96.52 kB / 0.7432 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.167e-05/1.358, allocations: 12.78 kB / 0.7432 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.358, allocations: 0 / 0.7432 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.477e-05/1.358, allocations: 16.88 kB / 0.7432 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/1.358, allocations: 4.094 kB / 0.7432 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/1.358, allocations: 76.66 kB / 0.7433 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/1.359, allocations: 0.6928 MB / 0.744 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/1.359, allocations: 0 / 0.744 GB, free: 23.3 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)