Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",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/BuildSysPro 3.5.0/package.mo): time 0.737/0.737, allocations: 127.4 MB / 134.6 MB, free: 4.055 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 185.3 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.807/1.807, allocations: 205.1 MB / 399.1 MB, free: 6.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001306/0.001306, allocations: 82.89 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4123/0.4137, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.634, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.658/6.292, allocations: 2.159 GB / 2.78 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/6.292, allocations: 87.95 kB / 2.78 GB, free: 7.422 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 3.547/9.839, allocations: 0.7807 GB / 3.561 GB, free: 90.13 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/9.839, allocations: 6.938 kB / 3.561 GB, free: 90.13 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002383/9.842, allocations: 269.5 kB / 3.561 GB, free: 90.08 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/9.844, allocations: 0.8123 MB / 3.562 GB, free: 89.82 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/9.844, allocations: 15.41 kB / 3.562 GB, free: 89.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/9.844, allocations: 38.34 kB / 3.562 GB, free: 89.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001245/9.846, allocations: 0.5737 MB / 3.562 GB, free: 89.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/9.847, allocations: 0.5208 MB / 3.563 GB, free: 89.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/9.847, allocations: 0 / 3.563 GB, free: 89.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/9.847, allocations: 0 / 3.563 GB, free: 89.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/9.847, allocations: 10.75 kB / 3.563 GB, free: 89.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004848/9.852, allocations: 2.915 MB / 3.566 GB, free: 88.43 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/9.852, allocations: 394.2 kB / 3.566 GB, free: 88.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/9.853, allocations: 264.4 kB / 3.566 GB, free: 88.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007925/9.853, allocations: 0.6358 MB / 3.567 GB, free: 87.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/9.853, allocations: 45.16 kB / 3.567 GB, free: 87.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 2.405e-06/9.853, allocations: 0 / 3.567 GB, free: 87.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.002407/9.856, allocations: 0.7601 MB / 3.568 GB, free: 87.62 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/9.856, allocations: 55.12 kB / 3.568 GB, free: 87.56 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006845/9.857, allocations: 461.4 kB / 3.568 GB, free: 87.44 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/9.857, allocations: 28.89 kB / 3.568 GB, free: 87.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/9.857, allocations: 254.7 kB / 3.568 GB, free: 87.28 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/9.857, allocations: 131.7 kB / 3.569 GB, free: 87.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/9.857, allocations: 0 / 3.569 GB, free: 87.21 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001157/9.857, allocations: 375 kB / 3.569 GB, free: 86.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/9.857, allocations: 184.3 kB / 3.569 GB, free: 86.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/9.858, allocations: 293.3 kB / 3.569 GB, free: 86.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006105/9.858, allocations: 307.8 kB / 3.57 GB, free: 86.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/9.858, allocations: 3.906 kB / 3.57 GB, free: 86.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001218/9.86, allocations: 0.6277 MB / 3.57 GB, free: 86.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/9.86, allocations: 6.188 kB / 3.57 GB, free: 86.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/9.86, allocations: 0 / 3.57 GB, free: 86.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/9.86, allocations: 3.125 kB / 3.57 GB, free: 86.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/9.86, allocations: 108.2 kB / 3.57 GB, free: 86.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/9.86, allocations: 6.359 kB / 3.57 GB, free: 86.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/9.861, allocations: 77.59 kB / 3.571 GB, free: 86.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/9.861, allocations: 24.02 kB / 3.571 GB, free: 86.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001269/9.861, allocations: 108.1 kB / 3.571 GB, free: 86.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/9.862, allocations: 70 kB / 3.571 GB, free: 86.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/9.863, allocations: 0.6701 MB / 3.571 GB, free: 86.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/9.863, allocations: 3.938 kB / 3.571 GB, free: 86.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/9.863, allocations: 0 / 3.571 GB, free: 86.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/9.863, allocations: 3.938 kB / 3.571 GB, free: 86.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/9.866, allocations: 1.441 MB / 3.573 GB, free: 86.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/9.866, allocations: 3.594 kB / 3.573 GB, free: 86.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/9.867, allocations: 91.8 kB / 3.573 GB, free: 86.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/9.867, allocations: 3.938 kB / 3.573 GB, free: 86.13 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/9.867, allocations: 14.44 kB / 3.573 GB, free: 86.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/9.867, allocations: 6.625 kB / 3.573 GB, free: 86.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/9.867, allocations: 10.12 kB / 3.573 GB, free: 86.13 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00171/9.868, allocations: 1.181 MB / 3.574 GB, free: 85.65 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002693/9.871, allocations: 1.941 MB / 3.576 GB, free: 84.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/9.871, allocations: 149 kB / 3.576 GB, free: 84.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/9.872, allocations: 6.906 kB / 3.576 GB, free: 84.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007316/9.872, allocations: 60.41 kB / 3.576 GB, free: 84.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/9.872, allocations: 32.17 kB / 3.576 GB, free: 84.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/9.872, allocations: 21.5 kB / 3.576 GB, free: 84.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004885/9.873, allocations: 351.8 kB / 3.577 GB, free: 84.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00292/9.876, allocations: 0.607 MB / 3.577 GB, free: 84.58 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003779/9.88, allocations: 2.393 MB / 3.579 GB, free: 83.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008573/9.881, allocations: 463.6 kB / 3.58 GB, free: 83.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/9.881, allocations: 0 / 3.58 GB, free: 83.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000372/9.881, allocations: 252.2 kB / 3.58 GB, free: 83.87 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/9.883, allocations: 389 kB / 3.581 GB, free: 83.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005931/9.889, allocations: 1.458 MB / 3.582 GB, free: 83.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008888/9.89, allocations: 1.058 MB / 3.583 GB, free: 82.77 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/9.89, allocations: 3.094 kB / 3.583 GB, free: 82.77 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1)