Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_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.004547/0.004547, allocations: 185.2 kB / 7.463 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7654/0.7654, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.622/1.622, allocations: 221.3 MB / 395 MB, free: 10.23 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.001158/0.001158, allocations: 103.5 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4899/0.4911, allocations: 88.44 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.6927, allocations: 82.3 MB / 0.6333 GB, free: 13.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5683/1.261, allocations: 114.3 MB / 0.745 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/1.261, allocations: 86.72 kB / 0.7451 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.02141/1.283, allocations: 8.245 MB / 0.7531 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.283, allocations: 9.25 kB / 0.7531 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.678e-05/1.283, allocations: 17.39 kB / 0.7531 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/1.283, allocations: 269.5 kB / 0.7534 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/1.283, allocations: 2.312 kB / 0.7534 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/1.283, allocations: 3.344 kB / 0.7534 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004181/1.284, allocations: 176.9 kB / 0.7536 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/1.284, allocations: 118.7 kB / 0.7537 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.284, allocations: 0.5625 kB / 0.7537 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/1.284, allocations: 0.6562 kB / 0.7537 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/1.284, allocations: 1.625 kB / 0.7537 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/1.284, allocations: 235.3 kB / 0.7539 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/1.285, allocations: 146.4 kB / 0.754 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/1.285, allocations: 56.81 kB / 0.7541 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/1.285, allocations: 1.875 kB / 0.7541 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/1.285, allocations: 112.1 kB / 0.7542 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 4.338e-06/1.285, allocations: 4 kB / 0.7542 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0004509/1.286, allocations: 181.3 kB / 0.7544 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/1.286, allocations: 78.36 kB / 0.7545 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/1.286, allocations: 224.1 kB / 0.7547 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/1.286, allocations: 28.61 kB / 0.7547 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/1.286, allocations: 94.05 kB / 0.7548 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.106e-05/1.286, allocations: 43.25 kB / 0.7548 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/1.286, allocations: 0.5625 kB / 0.7548 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.286, allocations: 326.8 kB / 0.7551 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.356e-05/1.286, allocations: 63.3 kB / 0.7552 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.606e-05/1.286, allocations: 79.23 kB / 0.7553 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/1.287, allocations: 69.62 kB / 0.7553 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.287, allocations: 0 / 0.7553 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003454/1.287, allocations: 194.4 kB / 0.7555 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.287, allocations: 9.375 kB / 0.7555 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.287, allocations: 0.6562 kB / 0.7555 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/1.287, allocations: 6.469 kB / 0.7555 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/1.287, allocations: 25.03 kB / 0.7556 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/1.287, allocations: 9.469 kB / 0.7556 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/1.287, allocations: 5.172 kB / 0.7556 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/1.287, allocations: 5.609 kB / 0.7556 GB, free: 24.37 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 9.733e-05/1.287, allocations: 111.3 kB / 0.7557 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/1.287, allocations: 15.12 kB / 0.7557 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005527/1.288, allocations: 258.8 kB / 0.756 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/1.288, allocations: 7.203 kB / 0.756 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.288, allocations: 0 / 0.756 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/1.288, allocations: 10.27 kB / 0.756 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/1.288, allocations: 247.8 kB / 0.7562 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.288, allocations: 0 / 0.7562 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/1.288, allocations: 33.92 kB / 0.7562 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.289, allocations: 1.25 kB / 0.7562 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/1.289, allocations: 4.297 kB / 0.7562 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/1.289, allocations: 6 kB / 0.7562 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.289, allocations: 1.906 kB / 0.7562 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003957/1.289, allocations: 245.4 kB / 0.7565 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005344/1.289, allocations: 0.6207 MB / 0.7571 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.23e-05/1.29, allocations: 100.9 kB / 0.7572 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/1.29, allocations: 13.34 kB / 0.7572 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/1.29, allocations: 6.891 kB / 0.7572 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/1.29, allocations: 15.27 kB / 0.7572 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-05/1.29, allocations: 4.594 kB / 0.7572 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001882/1.29, allocations: 181.1 kB / 0.7574 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008998/1.291, allocations: 56.8 kB / 0.7575 GB, free: 23.24 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.0009499/1.292, allocations: 359.3 kB / 0.7578 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003305/1.292, allocations: 149.2 kB / 0.7579 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.292, allocations: 1.906 kB / 0.7579 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/1.292, allocations: 92.55 kB / 0.758 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/1.293, allocations: 30.72 kB / 0.7581 GB, free: 23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/1.293, allocations: 240 kB / 0.7583 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/1.294, allocations: 0.7748 MB / 0.759 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/1.294, allocations: 0 / 0.759 GB, free: 22.15 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)