Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h",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 7.0.3-maint.7.0.x/package.mo): time 1.256/1.256, allocations: 249.4 MB / 256.7 MB, free: 6.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 172.7 kB / 316 MB, free: 3.516 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 94.17 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3763/0.3773, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.5614, allocations: 106.3 MB / 0.8846 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.954/4.516, allocations: 2.183 GB / 3.068 GB, free: 217.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/4.516, allocations: 87.83 kB / 3.068 GB, free: 217.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 1.033/5.549, allocations: 398.6 MB / 3.457 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/5.549, allocations: 8 kB / 3.457 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.881e-05/5.549, allocations: 67.25 kB / 3.457 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/5.549, allocations: 431.8 kB / 3.458 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/5.549, allocations: 16 kB / 3.458 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/5.549, allocations: 32 kB / 3.458 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004109/5.55, allocations: 294.5 kB / 3.458 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006266/5.551, allocations: 0.5968 MB / 3.459 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/5.551, allocations: 3.938 kB / 3.459 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/5.551, allocations: 4 kB / 3.459 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/5.551, allocations: 31.98 kB / 3.459 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/5.552, allocations: 2.99 MB / 3.462 GB, free: 154 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/5.552, allocations: 202.2 kB / 3.462 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.566e-05/5.552, allocations: 116.6 kB / 3.462 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/5.552, allocations: 4 kB / 3.462 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/5.552, allocations: 54.39 kB / 3.462 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.883e-06/5.552, allocations: 0 / 3.462 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0003733/5.553, allocations: 133.5 kB / 3.462 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/5.553, allocations: 283 kB / 3.463 GB, free: 153 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/5.553, allocations: 227.6 kB / 3.463 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/5.553, allocations: 29.64 kB / 3.463 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/5.553, allocations: 263.5 kB / 3.463 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/5.553, allocations: 27.56 kB / 3.463 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/5.553, allocations: 0 / 3.463 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.629e-05/5.553, allocations: 338.8 kB / 3.463 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.181e-05/5.553, allocations: 19.98 kB / 3.463 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/5.553, allocations: 108.5 kB / 3.463 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/5.553, allocations: 39.88 kB / 3.464 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/5.553, allocations: 0 / 3.464 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001367/5.554, allocations: 125.3 kB / 3.464 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/5.554, allocations: 7.984 kB / 3.464 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/5.554, allocations: 0 / 3.464 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/5.554, allocations: 4 kB / 3.464 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/5.554, allocations: 28.17 kB / 3.464 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/5.554, allocations: 8.219 kB / 3.464 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/5.554, allocations: 23.83 kB / 3.464 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/5.554, allocations: 15.98 kB / 3.464 GB, free: 151.7 MB / 0.8698 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 (10): * Single equations (assignments): 10 * 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 6.121e-05/5.554, allocations: 112.9 kB / 3.464 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/5.554, allocations: 31.62 kB / 3.464 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/5.554, allocations: 28.98 kB / 3.464 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/5.554, allocations: 4 kB / 3.464 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/5.554, allocations: 4 kB / 3.464 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/5.554, allocations: 0 / 3.464 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009744/5.555, allocations: 1.223 MB / 3.465 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/5.555, allocations: 0 / 3.465 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.487e-05/5.555, allocations: 36.19 kB / 3.465 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/5.555, allocations: 4 kB / 3.465 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/5.555, allocations: 4 kB / 3.465 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/5.555, allocations: 4 kB / 3.465 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/5.555, allocations: 0 / 3.465 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002057/5.556, allocations: 382.2 kB / 3.465 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004868/5.556, allocations: 0.8189 MB / 3.466 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-05/5.556, allocations: 108.7 kB / 3.466 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/5.556, allocations: 7.984 kB / 3.466 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/5.556, allocations: 19.98 kB / 3.466 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/5.556, allocations: 15.89 kB / 3.466 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/5.556, allocations: 7.938 kB / 3.466 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001085/5.557, allocations: 179.1 kB / 3.467 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001358/5.558, allocations: 387.3 kB / 3.467 GB, free: 148 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001776/5.56, allocations: 1.647 MB / 3.469 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001457/5.56, allocations: 71.91 kB / 3.469 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/5.56, allocations: 0 / 3.469 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/5.56, allocations: 52.66 kB / 3.469 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/5.56, allocations: 88.67 kB / 3.469 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008426/5.561, allocations: 0.5848 MB / 3.469 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/5.562, allocations: 0.9345 MB / 3.47 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of SimCode: time 2.1e-07/5.562, allocations: 0 / 3.47 GB, free: 144.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)