Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.731/0.731, allocations: 141.8 MB / 149.1 MB, free: 4.578 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 187.1 kB / 181.9 MB, free: 212 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 221.3 MB / 436 MB, free: 9.406 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 107.5 kB / 0.507 GB, free: 24.07 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 284.8 kB / 0.5884 GB, free: 12.38 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1995/0.2016, allocations: 89.63 MB / 0.676 GB, free: 2.664 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.6287, allocations: 82.77 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6664/1.295, allocations: 369.3 MB / 1.117 GB, free: 13.33 MB / 0.6513 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/1.295, allocations: 88.7 kB / 1.118 GB, free: 13.29 MB / 0.6513 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.385/3.681, allocations: 0.674 GB / 1.792 GB, free: 125.9 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/3.681, allocations: 8.781 kB / 1.792 GB, free: 125.9 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/3.682, allocations: 216.2 kB / 1.792 GB, free: 125.8 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06159/3.743, allocations: 23.48 MB / 1.815 GB, free: 124.7 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004371/3.744, allocations: 106.5 kB / 1.815 GB, free: 124.7 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002915/3.744, allocations: 53.69 kB / 1.815 GB, free: 124.7 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001319/3.746, allocations: 451.2 kB / 1.815 GB, free: 124.7 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/3.747, allocations: 0.8236 MB / 1.816 GB, free: 124.4 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/3.747, allocations: 2.25 kB / 1.816 GB, free: 124.4 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/3.747, allocations: 3.812 kB / 1.816 GB, free: 124.4 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/3.747, allocations: 26.28 kB / 1.816 GB, free: 124.4 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006287/3.754, allocations: 4.315 MB / 1.82 GB, free: 121.8 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/3.754, allocations: 244.4 kB / 1.821 GB, free: 121.8 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/3.755, allocations: 140.6 kB / 1.821 GB, free: 121.8 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007816/3.755, allocations: 1.159 MB / 1.822 GB, free: 120.5 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/3.755, allocations: 36.02 kB / 1.822 GB, free: 120.4 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=29): time 5.2e-06/3.755, allocations: 0 / 1.822 GB, free: 120.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=29): time 0.001627/3.757, allocations: 452.2 kB / 1.822 GB, free: 120.3 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/3.757, allocations: 58.81 kB / 1.822 GB, free: 120.3 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/3.758, allocations: 0.652 MB / 1.823 GB, free: 120.1 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 8.931e-05/3.758, allocations: 28.92 kB / 1.823 GB, free: 120.1 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/3.759, allocations: 438.3 kB / 1.823 GB, free: 119.8 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/3.759, allocations: 97.56 kB / 1.824 GB, free: 119.8 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/3.759, allocations: 0 / 1.824 GB, free: 119.8 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/3.759, allocations: 320.7 kB / 1.824 GB, free: 119.5 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/3.759, allocations: 108.9 kB / 1.824 GB, free: 119.5 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/3.759, allocations: 312.3 kB / 1.824 GB, free: 119.2 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/3.76, allocations: 192.2 kB / 1.824 GB, free: 119.2 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/3.76, allocations: 3.812 kB / 1.824 GB, free: 119.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001576/3.762, allocations: 0.5625 MB / 1.825 GB, free: 119.1 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/3.762, allocations: 7.734 kB / 1.825 GB, free: 119.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/3.762, allocations: 6.938 kB / 1.825 GB, free: 119.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005148/3.762, allocations: 124.4 kB / 1.825 GB, free: 119.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/3.763, allocations: 131.1 kB / 1.825 GB, free: 119.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/3.764, allocations: 1.73 MB / 1.827 GB, free: 117.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009782/3.765, allocations: 102.7 kB / 1.827 GB, free: 117.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.999e-05/3.765, allocations: 28.08 kB / 1.827 GB, free: 117.5 MB / 0.6982 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.0002884/3.765, allocations: 127.3 kB / 1.827 GB, free: 117.4 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/3.765, allocations: 99.53 kB / 1.827 GB, free: 117.4 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/3.767, allocations: 0.5987 MB / 1.828 GB, free: 117.3 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/3.767, allocations: 6.5 kB / 1.828 GB, free: 117.3 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/3.767, allocations: 0 / 1.828 GB, free: 117.3 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/3.767, allocations: 0 / 1.828 GB, free: 117.3 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/3.77, allocations: 1.348 MB / 1.829 GB, free: 116.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/3.77, allocations: 3.625 kB / 1.829 GB, free: 116.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/3.77, allocations: 91.59 kB / 1.829 GB, free: 116.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/3.771, allocations: 117.1 kB / 1.829 GB, free: 116.9 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/3.771, allocations: 9.125 kB / 1.829 GB, free: 116.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009314/3.772, allocations: 1.712 MB / 1.831 GB, free: 115.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/3.772, allocations: 3.75 kB / 1.831 GB, free: 115.3 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001482/3.773, allocations: 0.7266 MB / 1.832 GB, free: 115 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001649/3.775, allocations: 1.166 MB / 1.833 GB, free: 114.3 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005202/3.776, allocations: 233.1 kB / 1.833 GB, free: 114.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002445/3.776, allocations: 3.281 kB / 1.833 GB, free: 114.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008679/3.777, allocations: 86.83 kB / 1.833 GB, free: 114.1 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/3.777, allocations: 30.09 kB / 1.833 GB, free: 114.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-05/3.777, allocations: 21.55 kB / 1.833 GB, free: 114.1 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.000809/3.778, allocations: 0.5016 MB / 1.834 GB, free: 114 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002286/3.78, allocations: 479.3 kB / 1.834 GB, free: 113.9 MB / 0.6982 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.001366/3.781, allocations: 0.6148 MB / 1.835 GB, free: 113.8 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0009334/3.782, allocations: 373.2 kB / 1.835 GB, free: 113.7 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/3.782, allocations: 2.688 kB / 1.835 GB, free: 113.7 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004419/3.783, allocations: 215.2 kB / 1.835 GB, free: 113.7 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/3.785, allocations: 393.1 kB / 1.836 GB, free: 113.7 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/3.789, allocations: 1.232 MB / 1.837 GB, free: 113.3 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/3.79, allocations: 1.193 MB / 1.838 GB, free: 112.6 MB / 0.6982 GB Notification: Performance of SimCode: time 1.042e-06/3.79, allocations: 0 / 1.838 GB, free: 112.6 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)