Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.003425/0.003425, allocations: 179.8 kB / 7.458 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.6817/0.6817, 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.603/1.603, allocations: 221.3 MB / 395 MB, free: 10.2 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.0009136/0.0009136, allocations: 96.48 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5353/0.5363, allocations: 88.43 MB / 0.5529 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.7391, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.313/2.052, allocations: 371.9 MB / 0.9965 GB, free: 262 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/2.053, allocations: 81.14 kB / 0.9966 GB, free: 262 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 2.164/4.217, allocations: 0.674 GB / 1.671 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/4.217, allocations: 8 kB / 1.671 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005895/4.217, allocations: 221 kB / 1.671 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05264/4.27, allocations: 23.5 MB / 1.694 GB, free: 86.37 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003886/4.27, allocations: 111.7 kB / 1.694 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/4.271, allocations: 55.98 kB / 1.694 GB, free: 86.22 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001042/4.272, allocations: 440 kB / 1.694 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/4.273, allocations: 0.8213 MB / 1.695 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/4.273, allocations: 0 / 1.695 GB, free: 84.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/4.273, allocations: 9.875 kB / 1.695 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/4.273, allocations: 20 kB / 1.695 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005281/4.278, allocations: 4.327 MB / 1.699 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/4.279, allocations: 242.8 kB / 1.7 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/4.279, allocations: 139.9 kB / 1.7 GB, free: 80.03 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009358/4.28, allocations: 1.151 MB / 1.701 GB, free: 78.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/4.28, allocations: 42.55 kB / 1.701 GB, free: 78.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=29): time 2.545e-06/4.28, allocations: 0 / 1.701 GB, free: 78.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=29): time 0.001386/4.281, allocations: 463.3 kB / 1.701 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/4.281, allocations: 55.41 kB / 1.701 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007331/4.282, allocations: 0.6551 MB / 1.702 GB, free: 77.37 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/4.282, allocations: 29.64 kB / 1.702 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002038/4.282, allocations: 437.7 kB / 1.702 GB, free: 76.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/4.283, allocations: 102.5 kB / 1.703 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/4.283, allocations: 0 / 1.703 GB, free: 76.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.042e-05/4.283, allocations: 326 kB / 1.703 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/4.283, allocations: 104.8 kB / 1.703 GB, free: 76.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/4.283, allocations: 310.6 kB / 1.703 GB, free: 75.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000485/4.284, allocations: 188.4 kB / 1.703 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/4.284, allocations: 0 / 1.703 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001198/4.285, allocations: 0.5719 MB / 1.704 GB, free: 75.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/4.285, allocations: 6.5 kB / 1.704 GB, free: 75.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/4.285, allocations: 4 kB / 1.704 GB, free: 75.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004889/4.285, allocations: 132.9 kB / 1.704 GB, free: 75.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/4.286, allocations: 133.9 kB / 1.704 GB, free: 74.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009761/4.287, allocations: 1.725 MB / 1.706 GB, free: 73.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007763/4.288, allocations: 100.6 kB / 1.706 GB, free: 73.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/4.288, allocations: 31.98 kB / 1.706 GB, free: 73.04 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volQflow.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001818/4.288, allocations: 120.8 kB / 1.706 GB, free: 72.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/4.288, allocations: 101.6 kB / 1.706 GB, free: 72.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/4.289, allocations: 0.5809 MB / 1.707 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/4.289, allocations: 7.906 kB / 1.707 GB, free: 72.22 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/4.289, allocations: 0 / 1.707 GB, free: 72.22 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/4.289, allocations: 6.828 kB / 1.707 GB, free: 72.22 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/4.292, allocations: 1.347 MB / 1.708 GB, free: 70.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/4.292, allocations: 0 / 1.708 GB, free: 70.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/4.292, allocations: 98.14 kB / 1.708 GB, free: 70.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004066/4.293, allocations: 109.4 kB / 1.708 GB, free: 70.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/4.293, allocations: 15.91 kB / 1.708 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009416/4.294, allocations: 1.71 MB / 1.71 GB, free: 68.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/4.294, allocations: 0 / 1.71 GB, free: 68.82 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001266/4.295, allocations: 0.7382 MB / 1.711 GB, free: 68.01 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001565/4.297, allocations: 1.171 MB / 1.712 GB, free: 66.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004788/4.297, allocations: 227.7 kB / 1.712 GB, free: 66.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/4.297, allocations: 7.875 kB / 1.712 GB, free: 66.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007786/4.298, allocations: 95.89 kB / 1.712 GB, free: 66.45 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/4.298, allocations: 27.95 kB / 1.712 GB, free: 66.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.355e-05/4.298, allocations: 15.98 kB / 1.712 GB, free: 66.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008533/4.299, allocations: 0.5024 MB / 1.713 GB, free: 65.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002776/4.302, allocations: 485.8 kB / 1.713 GB, free: 65.42 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001462/4.303, allocations: 0.5939 MB / 1.714 GB, free: 64.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001109/4.304, allocations: 382.8 kB / 1.714 GB, free: 64.56 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/4.304, allocations: 4 kB / 1.714 GB, free: 64.56 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003919/4.305, allocations: 208.7 kB / 1.714 GB, free: 64.36 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/4.307, allocations: 394.2 kB / 1.715 GB, free: 63.99 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002455/4.309, allocations: 1.249 MB / 1.716 GB, free: 62.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006134/4.31, allocations: 1.19 MB / 1.717 GB, free: 61.47 MB / 0.6823 GB Notification: Performance of SimCode: time 6.81e-07/4.31, allocations: 0 / 1.717 GB, free: 61.47 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)