Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.00328/0.00328, allocations: 185.1 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7124/0.7124, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.19 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.0009309/0.0009309, allocations: 87.3 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4701/0.4711, allocations: 88.45 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.6586, allocations: 82.3 MB / 0.6333 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5505/1.209, allocations: 114.3 MB / 0.745 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/1.209, allocations: 90.11 kB / 0.745 GB, free: 10.81 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.02218/1.232, allocations: 8.241 MB / 0.7531 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/1.232, allocations: 9.281 kB / 0.7531 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/1.232, allocations: 14.91 kB / 0.7531 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/1.232, allocations: 271.1 kB / 0.7534 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/1.232, allocations: 2.062 kB / 0.7534 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/1.232, allocations: 3.281 kB / 0.7534 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004678/1.233, allocations: 177.2 kB / 0.7535 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/1.233, allocations: 116.8 kB / 0.7537 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/1.233, allocations: 4.656 kB / 0.7537 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/1.233, allocations: 0 / 0.7537 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/1.233, allocations: 1.375 kB / 0.7537 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/1.233, allocations: 231.9 kB / 0.7539 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/1.234, allocations: 142.1 kB / 0.754 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/1.234, allocations: 61.92 kB / 0.7541 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/1.234, allocations: 4.953 kB / 0.7541 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/1.234, allocations: 111 kB / 0.7542 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/1.234, allocations: 336 / 0.7542 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0004498/1.235, allocations: 182 kB / 0.7544 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/1.235, allocations: 83.06 kB / 0.7544 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/1.235, allocations: 223.2 kB / 0.7547 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/1.235, allocations: 28.59 kB / 0.7547 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/1.235, allocations: 95.27 kB / 0.7548 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/1.235, allocations: 41.97 kB / 0.7548 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/1.235, allocations: 1.312 kB / 0.7548 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.235, allocations: 326.3 kB / 0.7551 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/1.236, allocations: 62.56 kB / 0.7552 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/1.236, allocations: 80.53 kB / 0.7553 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/1.236, allocations: 69.28 kB / 0.7553 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.236, allocations: 0 / 0.7553 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003953/1.236, allocations: 196 kB / 0.7555 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.236, allocations: 5.344 kB / 0.7555 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.236, allocations: 5.016 kB / 0.7555 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/1.236, allocations: 5.719 kB / 0.7555 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/1.237, allocations: 29.12 kB / 0.7556 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.237, allocations: 4.875 kB / 0.7556 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-05/1.237, allocations: 10.25 kB / 0.7556 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.855e-05/1.237, allocations: 5 kB / 0.7556 GB, free: 24.64 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: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001287/1.237, allocations: 108.4 kB / 0.7557 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/1.237, allocations: 16.09 kB / 0.7557 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005636/1.237, allocations: 263.6 kB / 0.756 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/1.237, allocations: 2.875 kB / 0.756 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.237, allocations: 0.6562 kB / 0.756 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.237, allocations: 4.609 kB / 0.756 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003391/1.238, allocations: 246 kB / 0.7562 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/1.238, allocations: 5.578 kB / 0.7562 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/1.238, allocations: 33.66 kB / 0.7562 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/1.238, allocations: 0.5625 kB / 0.7562 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/1.238, allocations: 4.109 kB / 0.7562 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/1.238, allocations: 5.562 kB / 0.7562 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.238, allocations: 4.562 kB / 0.7562 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004833/1.239, allocations: 243.8 kB / 0.7565 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006594/1.239, allocations: 0.6133 MB / 0.7571 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-05/1.239, allocations: 100.6 kB / 0.7572 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/1.239, allocations: 13.44 kB / 0.7572 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/1.239, allocations: 3.219 kB / 0.7572 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/1.24, allocations: 19.03 kB / 0.7572 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/1.24, allocations: 9.562 kB / 0.7572 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002271/1.24, allocations: 179.9 kB / 0.7574 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009627/1.241, allocations: 53.41 kB / 0.7574 GB, free: 23.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001077/1.242, allocations: 362.9 kB / 0.7578 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000376/1.242, allocations: 155.9 kB / 0.7579 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.242, allocations: 0 / 0.7579 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/1.242, allocations: 85.8 kB / 0.758 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/1.243, allocations: 35.78 kB / 0.758 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007729/1.244, allocations: 244.7 kB / 0.7583 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005859/1.244, allocations: 0.7742 MB / 0.759 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/1.244, allocations: 1.344 kB / 0.759 GB, free: 22.43 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)