Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7369/0.7369, allocations: 141.8 MB / 149.1 MB, free: 4.004 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.001476/0.001476, allocations: 188.2 kB / 181.9 MB, free: 15.71 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 221.3 MB / 436 MB, free: 8.836 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.0008872/0.0008869, allocations: 101.1 kB / 0.507 GB, free: 24.22 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00195/0.00195, allocations: 273.9 kB / 0.5884 GB, free: 11.88 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1972/0.1992, allocations: 89.64 MB / 0.676 GB, free: 2.152 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.6022, allocations: 82.76 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.72/4.322, allocations: 1.888 GB / 2.645 GB, free: 188.1 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/4.323, allocations: 92.44 kB / 2.645 GB, free: 188 MB / 0.6982 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 2.706/7.029, allocations: 0.7991 GB / 3.444 GB, free: 108.5 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/7.029, allocations: 14.66 kB / 3.444 GB, free: 108.5 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/7.031, allocations: 266.4 kB / 3.444 GB, free: 108.5 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/7.033, allocations: 0.8011 MB / 3.445 GB, free: 108.2 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/7.033, allocations: 14.31 kB / 3.445 GB, free: 108.2 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/7.033, allocations: 39.62 kB / 3.445 GB, free: 108.2 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000917/7.034, allocations: 0.5619 MB / 3.446 GB, free: 108.2 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008334/7.034, allocations: 0.5187 MB / 3.446 GB, free: 108.2 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/7.035, allocations: 0 / 3.446 GB, free: 108.2 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/7.035, allocations: 0 / 3.446 GB, free: 108.2 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/7.035, allocations: 15.72 kB / 3.446 GB, free: 108.2 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004574/7.039, allocations: 2.904 MB / 3.449 GB, free: 106.9 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/7.04, allocations: 376 kB / 3.449 GB, free: 106.8 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003929/7.04, allocations: 263.4 kB / 3.45 GB, free: 106.8 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008741/7.041, allocations: 0.6387 MB / 3.45 GB, free: 106.2 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/7.041, allocations: 36.23 kB / 3.45 GB, free: 106.1 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=39): time 3.476e-06/7.041, allocations: 3.188 kB / 3.45 GB, free: 106.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=39): time 0.002605/7.044, allocations: 0.7717 MB / 3.451 GB, free: 106.1 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/7.044, allocations: 57.06 kB / 3.451 GB, free: 106 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006332/7.045, allocations: 455.2 kB / 3.452 GB, free: 105.9 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/7.045, allocations: 29.67 kB / 3.452 GB, free: 105.9 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/7.045, allocations: 251.6 kB / 3.452 GB, free: 105.7 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/7.045, allocations: 135.6 kB / 3.452 GB, free: 105.7 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/7.045, allocations: 0 / 3.452 GB, free: 105.7 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001189/7.045, allocations: 378.9 kB / 3.452 GB, free: 105.3 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/7.045, allocations: 184.9 kB / 3.452 GB, free: 105.3 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/7.046, allocations: 308.1 kB / 3.453 GB, free: 105.2 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/7.046, allocations: 308.4 kB / 3.453 GB, free: 105.2 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/7.046, allocations: 0 / 3.453 GB, free: 105.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001287/7.048, allocations: 0.6288 MB / 3.454 GB, free: 105.1 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/7.048, allocations: 10.75 kB / 3.454 GB, free: 105.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/7.048, allocations: 0 / 3.454 GB, free: 105.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/7.048, allocations: 3.906 kB / 3.454 GB, free: 105.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/7.048, allocations: 111.1 kB / 3.454 GB, free: 105.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/7.048, allocations: 3.875 kB / 3.454 GB, free: 105.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008135/7.049, allocations: 74.91 kB / 3.454 GB, free: 105.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.852e-05/7.049, allocations: 21.84 kB / 3.454 GB, free: 105.1 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.000133/7.049, allocations: 115.8 kB / 3.454 GB, free: 105 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/7.049, allocations: 74.44 kB / 3.454 GB, free: 105 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/7.051, allocations: 0.6731 MB / 3.455 GB, free: 104.9 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/7.051, allocations: 3.969 kB / 3.455 GB, free: 104.9 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/7.051, allocations: 0.5 kB / 3.455 GB, free: 104.9 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/7.051, allocations: 0.5625 kB / 3.455 GB, free: 104.9 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/7.054, allocations: 1.485 MB / 3.456 GB, free: 104.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/7.054, allocations: 2.875 kB / 3.456 GB, free: 104.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/7.055, allocations: 98.48 kB / 3.456 GB, free: 104.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/7.055, allocations: 3.969 kB / 3.456 GB, free: 104.5 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.473e-05/7.055, allocations: 7.25 kB / 3.456 GB, free: 104.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/7.055, allocations: 9.969 kB / 3.456 GB, free: 104.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.371e-06/7.055, allocations: 4.312 kB / 3.456 GB, free: 104.5 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001565/7.056, allocations: 1.193 MB / 3.457 GB, free: 104.1 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002434/7.059, allocations: 1.983 MB / 3.459 GB, free: 103.2 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/7.059, allocations: 187 kB / 3.46 GB, free: 103.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/7.059, allocations: 7.75 kB / 3.46 GB, free: 103.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000726/7.06, allocations: 56.2 kB / 3.46 GB, free: 103 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/7.06, allocations: 32.42 kB / 3.46 GB, free: 103 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/7.06, allocations: 17.38 kB / 3.46 GB, free: 103 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004767/7.061, allocations: 355.6 kB / 3.46 GB, free: 103 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002541/7.063, allocations: 0.6153 MB / 3.461 GB, free: 102.9 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (42): * Single equations (assignments): 42 * 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.00337/7.067, allocations: 2.38 MB / 3.463 GB, free: 102.2 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0008291/7.068, allocations: 468.4 kB / 3.463 GB, free: 102.2 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/7.068, allocations: 0 / 3.463 GB, free: 102.2 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003554/7.068, allocations: 253 kB / 3.464 GB, free: 102.2 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/7.07, allocations: 365.5 kB / 3.464 GB, free: 102.2 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/7.076, allocations: 1.477 MB / 3.465 GB, free: 101.8 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007979/7.077, allocations: 1.059 MB / 3.466 GB, free: 101.1 MB / 0.6982 GB Notification: Performance of SimCode: time 7.62e-07/7.077, allocations: 1.875 kB / 3.466 GB, free: 101.1 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1)