Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FlowJunctionSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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.7391/0.7391, allocations: 141.8 MB / 149.1 MB, free: 13.4 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 183.8 kB / 181.9 MB, free: 10.09 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.343/1.343, allocations: 221.4 MB / 436 MB, free: 2.57 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.0009628/0.0009628, allocations: 95.59 kB / 0.507 GB, free: 17.79 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001782/0.001782, allocations: 280.9 kB / 0.5884 GB, free: 4.086 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4218/0.4236, allocations: 89.63 MB / 0.676 GB, free: 136.7 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.5812, allocations: 82.78 MB / 0.7568 GB, free: 83.62 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.956/4.537, allocations: 1.887 GB / 2.644 GB, free: 114.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/4.537, allocations: 87.94 kB / 2.644 GB, free: 114.3 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 2.607/7.144, allocations: 0.8024 GB / 3.447 GB, free: 90.79 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/7.144, allocations: 9.25 kB / 3.447 GB, free: 90.78 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/7.146, allocations: 274.5 kB / 3.447 GB, free: 90.51 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002353/7.149, allocations: 0.8079 MB / 3.448 GB, free: 89.69 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/7.149, allocations: 12 kB / 3.448 GB, free: 89.68 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/7.149, allocations: 36 kB / 3.448 GB, free: 89.64 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001032/7.15, allocations: 0.5721 MB / 3.448 GB, free: 89.07 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009601/7.151, allocations: 0.5237 MB / 3.449 GB, free: 88.54 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/7.151, allocations: 6.234 kB / 3.449 GB, free: 88.53 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.044e-05/7.151, allocations: 0 / 3.449 GB, free: 88.53 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/7.151, allocations: 18.2 kB / 3.449 GB, free: 88.52 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004349/7.155, allocations: 2.649 MB / 3.451 GB, free: 85.72 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000878/7.156, allocations: 484.3 kB / 3.452 GB, free: 85.23 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003978/7.157, allocations: 329 kB / 3.452 GB, free: 84.91 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007984/7.157, allocations: 0.6423 MB / 3.453 GB, free: 84.15 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/7.157, allocations: 42.47 kB / 3.453 GB, free: 84.11 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=45): time 2.725e-06/7.157, allocations: 0 / 3.453 GB, free: 84.11 MB / 0.6982 GB Notification: Performance of matching and sorting (n=45): time 0.002872/7.16, allocations: 0.9467 MB / 3.454 GB, free: 83.16 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/7.16, allocations: 67.31 kB / 3.454 GB, free: 83.09 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/7.161, allocations: 455.7 kB / 3.454 GB, free: 82.64 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 7.119e-05/7.161, allocations: 29.7 kB / 3.454 GB, free: 82.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/7.161, allocations: 240.4 kB / 3.455 GB, free: 82.37 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/7.161, allocations: 149.8 kB / 3.455 GB, free: 82.22 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/7.161, allocations: 3.938 kB / 3.455 GB, free: 82.21 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001117/7.162, allocations: 378.7 kB / 3.455 GB, free: 81.84 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/7.162, allocations: 228.8 kB / 3.455 GB, free: 81.61 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003882/7.162, allocations: 350.6 kB / 3.456 GB, free: 81.23 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/7.163, allocations: 359.8 kB / 3.456 GB, free: 80.88 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/7.163, allocations: 4 kB / 3.456 GB, free: 80.88 MB / 0.6982 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001446/7.164, allocations: 0.7946 MB / 3.457 GB, free: 80.07 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 9.499e-05/7.164, allocations: 271.5 kB / 3.457 GB, free: 79.79 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/7.164, allocations: 3.156 kB / 3.457 GB, free: 79.79 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002114/7.165, allocations: 55.89 kB / 3.457 GB, free: 79.74 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005399/7.165, allocations: 107.5 kB / 3.457 GB, free: 79.64 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004848/7.166, allocations: 0.6421 MB / 3.458 GB, free: 78.97 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009173/7.167, allocations: 79.36 kB / 3.458 GB, free: 78.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-05/7.167, allocations: 31.88 kB / 3.458 GB, free: 78.87 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/7.167, allocations: 4 kB / 3.458 GB, free: 78.86 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/7.168, allocations: 0.6641 MB / 3.459 GB, free: 78.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/7.168, allocations: 4 kB / 3.459 GB, free: 78.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/7.168, allocations: 63.69 kB / 3.459 GB, free: 78.14 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005212/7.169, allocations: 106.3 kB / 3.459 GB, free: 78.04 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/7.17, allocations: 1.618 MB / 3.46 GB, free: 76.31 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008525/7.171, allocations: 83.02 kB / 3.46 GB, free: 76.23 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/7.171, allocations: 27.97 kB / 3.46 GB, free: 76.21 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001703/7.171, allocations: 112.9 kB / 3.461 GB, free: 76.09 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/7.172, allocations: 70.12 kB / 3.461 GB, free: 76.02 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/7.173, allocations: 0.8452 MB / 3.461 GB, free: 75.17 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/7.173, allocations: 4 kB / 3.461 GB, free: 75.16 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/7.173, allocations: 0 / 3.461 GB, free: 75.16 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/7.173, allocations: 4 kB / 3.461 GB, free: 75.16 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/7.176, allocations: 1.688 MB / 3.463 GB, free: 73.41 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/7.176, allocations: 4 kB / 3.463 GB, free: 73.41 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/7.177, allocations: 99.41 kB / 3.463 GB, free: 73.32 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/7.177, allocations: 52.78 kB / 3.463 GB, free: 73.26 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/7.177, allocations: 8 kB / 3.463 GB, free: 73.25 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003197/7.177, allocations: 0.6061 MB / 3.464 GB, free: 72.62 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/7.177, allocations: 11.16 kB / 3.464 GB, free: 72.62 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001632/7.179, allocations: 1.308 MB / 3.465 GB, free: 71.18 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002387/7.181, allocations: 2.128 MB / 3.467 GB, free: 68.93 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004122/7.182, allocations: 214.7 kB / 3.467 GB, free: 68.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/7.182, allocations: 8 kB / 3.467 GB, free: 68.69 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/7.183, allocations: 93.25 kB / 3.467 GB, free: 68.61 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/7.183, allocations: 31.95 kB / 3.468 GB, free: 68.58 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/7.183, allocations: 19.98 kB / 3.468 GB, free: 68.56 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004738/7.183, allocations: 363.2 kB / 3.468 GB, free: 68.21 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.004345/7.188, allocations: 1.066 MB / 3.469 GB, free: 67.14 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 (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003614/7.191, allocations: 2.386 MB / 3.471 GB, free: 65.07 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001756/7.193, allocations: 0.9674 MB / 3.472 GB, free: 64.1 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/7.193, allocations: 4 kB / 3.472 GB, free: 64.09 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004546/7.194, allocations: 292.3 kB / 3.472 GB, free: 63.81 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/7.196, allocations: 446.1 kB / 3.473 GB, free: 63.38 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005612/7.202, allocations: 1.525 MB / 3.474 GB, free: 61.8 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008526/7.203, allocations: 1.065 MB / 3.475 GB, free: 60.71 MB / 0.6982 GB Notification: Performance of SimCode: time 7.12e-07/7.203, allocations: 0 / 3.475 GB, free: 60.71 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)