Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T.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.Sources.Examples.PropertySource_T,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_T",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.7686/0.7686, allocations: 127.4 MB / 134.6 MB, free: 4.113 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.001127/0.001127, allocations: 177.3 kB / 164.4 MB, free: 6.91 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.665/1.665, allocations: 205.1 MB / 399.1 MB, free: 6.121 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.0009557/0.0009557, allocations: 88.22 kB / 476.3 MB, free: 8.871 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3225/0.3235, allocations: 82.88 MB / 0.5461 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.5227, allocations: 76.74 MB / 0.621 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.512/6.034, allocations: 2.144 GB / 2.765 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/6.035, allocations: 83.95 kB / 2.765 GB, free: 23.81 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 2.688/8.723, allocations: 0.6013 GB / 3.366 GB, free: 92.72 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/8.723, allocations: 9.719 kB / 3.366 GB, free: 92.72 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/8.725, allocations: 286.5 kB / 3.366 GB, free: 92.68 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/8.727, allocations: 0.5809 MB / 3.367 GB, free: 92.44 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/8.727, allocations: 24.78 kB / 3.367 GB, free: 92.44 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/8.727, allocations: 45.34 kB / 3.367 GB, free: 92.44 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001346/8.728, allocations: 0.5314 MB / 3.368 GB, free: 92.43 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/8.73, allocations: 0.7645 MB / 3.368 GB, free: 92.27 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/8.73, allocations: 3.906 kB / 3.368 GB, free: 92.27 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/8.73, allocations: 2.906 kB / 3.368 GB, free: 92.27 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.98e-05/8.73, allocations: 42.84 kB / 3.368 GB, free: 92.26 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004657/8.735, allocations: 3.469 MB / 3.372 GB, free: 89.98 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/8.735, allocations: 164.9 kB / 3.372 GB, free: 89.96 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/8.735, allocations: 106.8 kB / 3.372 GB, free: 89.95 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006848/8.736, allocations: 0.6324 MB / 3.373 GB, free: 89.29 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/8.736, allocations: 34.5 kB / 3.373 GB, free: 89.25 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 3.196e-06/8.736, allocations: 0 / 3.373 GB, free: 89.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.001698/8.738, allocations: 407.6 kB / 3.373 GB, free: 89.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/8.738, allocations: 59.69 kB / 3.373 GB, free: 89.13 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/8.738, allocations: 340 kB / 3.373 GB, free: 89.03 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/8.738, allocations: 29.67 kB / 3.374 GB, free: 89 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/8.738, allocations: 355 kB / 3.374 GB, free: 88.82 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.388e-05/8.738, allocations: 65.28 kB / 3.374 GB, free: 88.79 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.687e-05/8.738, allocations: 3.438 kB / 3.374 GB, free: 88.79 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001012/8.739, allocations: 352.1 kB / 3.374 GB, free: 88.47 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/8.739, allocations: 83.75 kB / 3.374 GB, free: 88.47 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/8.739, allocations: 197 kB / 3.375 GB, free: 88.35 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/8.739, allocations: 152.8 kB / 3.375 GB, free: 88.35 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/8.739, allocations: 0 / 3.375 GB, free: 88.35 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006372/8.74, allocations: 350.7 kB / 3.375 GB, free: 88.29 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/8.74, allocations: 9.422 kB / 3.375 GB, free: 88.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/8.74, allocations: 3.719 kB / 3.375 GB, free: 88.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/8.74, allocations: 3.938 kB / 3.375 GB, free: 88.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/8.74, allocations: 65.3 kB / 3.375 GB, free: 88.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/8.74, allocations: 4.656 kB / 3.375 GB, free: 88.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005215/8.741, allocations: 51.05 kB / 3.375 GB, free: 88.28 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/8.741, allocations: 19.66 kB / 3.375 GB, free: 88.28 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 31 * 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.0001036/8.741, allocations: 110.1 kB / 3.375 GB, free: 88.18 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/8.741, allocations: 50.53 kB / 3.375 GB, free: 88.15 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/8.742, allocations: 272.6 kB / 3.376 GB, free: 88.11 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/8.742, allocations: 3.938 kB / 3.376 GB, free: 88.11 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/8.742, allocations: 0 / 3.376 GB, free: 88.11 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/8.742, allocations: 7.312 kB / 3.376 GB, free: 88.11 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/8.744, allocations: 1.012 MB / 3.377 GB, free: 87.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/8.744, allocations: 3.375 kB / 3.377 GB, free: 87.72 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/8.744, allocations: 46.09 kB / 3.377 GB, free: 87.72 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/8.744, allocations: 3.938 kB / 3.377 GB, free: 87.72 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/8.744, allocations: 6.625 kB / 3.377 GB, free: 87.72 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/8.744, allocations: 9.703 kB / 3.377 GB, free: 87.72 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/8.744, allocations: 5.906 kB / 3.377 GB, free: 87.72 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006392/8.745, allocations: 0.5906 MB / 3.377 GB, free: 87.23 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001116/8.746, allocations: 1.087 MB / 3.378 GB, free: 86.36 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/8.746, allocations: 125 kB / 3.378 GB, free: 86.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.228e-05/8.746, allocations: 3.438 kB / 3.378 GB, free: 86.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/8.746, allocations: 42.55 kB / 3.378 GB, free: 86.24 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/8.746, allocations: 22.77 kB / 3.378 GB, free: 86.24 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/8.747, allocations: 8.281 kB / 3.378 GB, free: 86.24 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0002762/8.747, allocations: 270.8 kB / 3.379 GB, free: 86.16 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002474/8.749, allocations: 0.5768 MB / 3.379 GB, free: 86.13 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (18): * Single equations (assignments): 18 * 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.00341/8.753, allocations: 2.256 MB / 3.381 GB, free: 85.49 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004852/8.753, allocations: 206.9 kB / 3.382 GB, free: 85.49 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/8.753, allocations: 0 / 3.382 GB, free: 85.49 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/8.753, allocations: 91.73 kB / 3.382 GB, free: 85.49 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/8.754, allocations: 175.3 kB / 3.382 GB, free: 85.48 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/8.757, allocations: 0.8367 MB / 3.383 GB, free: 85.12 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008557/8.757, allocations: 1.046 MB / 3.384 GB, free: 84.41 MB / 0.6667 GB Notification: Performance of SimCode: time 2.8e-07/8.757, allocations: 2.297 kB / 3.384 GB, free: 84.41 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_PropertySource_T.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)