Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.545/1.545, allocations: 289.8 MB / 297.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 189.2 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.1 MB / 0.6256 GB, free: 5.887 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 99.09 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3016/0.3028, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7788/1.082, allocations: 116.3 MB / 0.9727 GB, free: 68.51 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.571/5.653, allocations: 2.067 GB / 3.04 GB, free: 8.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/5.653, allocations: 88.45 kB / 3.04 GB, free: 8.734 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 8.18/13.83, allocations: 2.076 GB / 5.116 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/13.83, allocations: 8 kB / 5.116 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/13.84, allocations: 206.1 kB / 5.116 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003652/13.84, allocations: 0.9501 MB / 5.117 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/13.84, allocations: 89.41 kB / 5.117 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003018/13.84, allocations: 59.91 kB / 5.117 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001151/13.84, allocations: 391.9 kB / 5.118 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/13.84, allocations: 0.7623 MB / 5.118 GB, free: 110.1 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/13.84, allocations: 7.938 kB / 5.118 GB, free: 110.1 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-05/13.84, allocations: 4 kB / 5.118 GB, free: 110.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/13.84, allocations: 20 kB / 5.118 GB, free: 110 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005609/13.85, allocations: 4.641 MB / 5.123 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004719/13.85, allocations: 382.3 kB / 5.123 GB, free: 104.7 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/13.85, allocations: 232.5 kB / 5.124 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/13.85, allocations: 103.7 kB / 5.124 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/13.85, allocations: 52.16 kB / 5.124 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=31): time 3.186e-06/13.85, allocations: 2.406 kB / 5.124 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=31): time 0.001346/13.85, allocations: 387.3 kB / 5.124 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/13.85, allocations: 403.5 kB / 5.124 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009626/13.85, allocations: 0.6604 MB / 5.125 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.591e-05/13.85, allocations: 29.7 kB / 5.125 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/13.85, allocations: 389.7 kB / 5.125 GB, free: 102.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/13.85, allocations: 106.2 kB / 5.126 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/13.85, allocations: 0 / 5.126 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 5.885e-05/13.85, allocations: 318 kB / 5.126 GB, free: 101.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/13.85, allocations: 71.97 kB / 5.126 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/13.85, allocations: 334.5 kB / 5.126 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/13.85, allocations: 128.9 kB / 5.126 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/13.85, allocations: 0 / 5.126 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006764/13.85, allocations: 393.2 kB / 5.127 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/13.85, allocations: 7.906 kB / 5.127 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/13.85, allocations: 4.094 kB / 5.127 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002802/13.85, allocations: 72.52 kB / 5.127 GB, free: 100.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/13.85, allocations: 67.89 kB / 5.127 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/13.86, allocations: 2.761 MB / 5.13 GB, free: 97.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/13.86, allocations: 66.77 kB / 5.13 GB, free: 97.65 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/13.86, allocations: 20 kB / 5.13 GB, free: 97.63 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001762/13.86, allocations: 128.7 kB / 5.13 GB, free: 97.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004992/13.86, allocations: 106.7 kB / 5.13 GB, free: 97.39 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/13.86, allocations: 94.42 kB / 5.13 GB, free: 97.3 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/13.86, allocations: 8 kB / 5.13 GB, free: 97.3 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/13.86, allocations: 4 kB / 5.13 GB, free: 97.29 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/13.86, allocations: 4 kB / 5.13 GB, free: 97.29 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/13.86, allocations: 2.359 MB / 5.132 GB, free: 94.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/13.86, allocations: 5.812 kB / 5.132 GB, free: 94.82 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/13.86, allocations: 47.92 kB / 5.132 GB, free: 94.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000185/13.86, allocations: 67.55 kB / 5.132 GB, free: 94.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/13.86, allocations: 5.438 kB / 5.132 GB, free: 94.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/13.86, allocations: 2.766 MB / 5.135 GB, free: 91.71 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/13.86, allocations: 9.469 kB / 5.135 GB, free: 91.71 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007956/13.86, allocations: 0.8669 MB / 5.136 GB, free: 90.65 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001684/13.87, allocations: 1.438 MB / 5.137 GB, free: 89.02 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005027/13.87, allocations: 211.7 kB / 5.138 GB, free: 88.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/13.87, allocations: 8 kB / 5.138 GB, free: 88.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007844/13.87, allocations: 58.91 kB / 5.138 GB, free: 88.74 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.422e-05/13.87, allocations: 37.31 kB / 5.138 GB, free: 88.71 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/13.87, allocations: 15.98 kB / 5.138 GB, free: 88.69 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.0007885/13.87, allocations: 0.511 MB / 5.138 GB, free: 88.17 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004918/13.87, allocations: 0.9796 MB / 5.139 GB, free: 87.19 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006093/13.88, allocations: 3.908 MB / 5.143 GB, free: 83.64 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0009343/13.88, allocations: 448.9 kB / 5.143 GB, free: 83.19 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/13.88, allocations: 4 kB / 5.143 GB, free: 83.18 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004404/13.88, allocations: 347.7 kB / 5.144 GB, free: 82.83 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/13.88, allocations: 415.8 kB / 5.144 GB, free: 82.42 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/13.89, allocations: 1.287 MB / 5.145 GB, free: 81.04 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/13.89, allocations: 1.217 MB / 5.147 GB, free: 79.79 MB / 0.9792 GB Notification: Performance of SimCode: time 6.81e-07/13.89, allocations: 0 / 5.147 GB, free: 79.79 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)