Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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 10.0.0-master/package.mo): time 2.201/2.201, allocations: 390.4 MB / 397.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 177.2 kB / 490.8 MB, free: 1.961 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 92.66 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7675/0.7688, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/1.107, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.728/5.835, allocations: 1.874 GB / 3.086 GB, free: 1.969 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/5.835, allocations: 87.89 kB / 3.086 GB, free: 1.887 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 4.53/10.37, allocations: 1.02 GB / 4.106 GB, free: 259.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/10.37, allocations: 9.281 kB / 4.106 GB, free: 259.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005818/10.37, allocations: 0.7695 MB / 4.106 GB, free: 259 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00533/10.38, allocations: 1.061 MB / 4.107 GB, free: 258.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/10.38, allocations: 26.27 kB / 4.107 GB, free: 258.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005243/10.38, allocations: 51.31 kB / 4.107 GB, free: 258.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002517/10.38, allocations: 0.8533 MB / 4.108 GB, free: 258.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003317/10.38, allocations: 1.174 MB / 4.109 GB, free: 258.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/10.38, allocations: 1.875 kB / 4.109 GB, free: 258.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/10.38, allocations: 3.297 kB / 4.109 GB, free: 258.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.477e-05/10.38, allocations: 40.84 kB / 4.11 GB, free: 258.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/10.39, allocations: 5.671 MB / 4.115 GB, free: 255.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/10.4, allocations: 0.8807 MB / 4.116 GB, free: 255.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008999/10.4, allocations: 0.4889 MB / 4.116 GB, free: 255.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009777/10.4, allocations: 0.5895 MB / 4.117 GB, free: 254.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/10.4, allocations: 0.5864 MB / 4.118 GB, free: 254.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=80): time 4.438e-06/10.4, allocations: 1.031 kB / 4.118 GB, free: 254.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=80): time 0.003414/10.4, allocations: 1.077 MB / 4.119 GB, free: 254.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/10.4, allocations: 63.78 kB / 4.119 GB, free: 254.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/10.41, allocations: 0.8534 MB / 4.119 GB, free: 254.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001547/10.41, allocations: 32.5 kB / 4.12 GB, free: 254.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004831/10.41, allocations: 416.3 kB / 4.12 GB, free: 254.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/10.41, allocations: 262.6 kB / 4.12 GB, free: 254.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.509e-05/10.41, allocations: 0 / 4.12 GB, free: 254.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001008/10.41, allocations: 342.1 kB / 4.12 GB, free: 253.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008777/10.41, allocations: 421.5 kB / 4.121 GB, free: 253.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/10.41, allocations: 0.7192 MB / 4.122 GB, free: 253.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/10.41, allocations: 479.9 kB / 4.122 GB, free: 253.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/10.41, allocations: 2 kB / 4.122 GB, free: 253.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002824/10.41, allocations: 1.186 MB / 4.123 GB, free: 253.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/10.41, allocations: 7.312 kB / 4.123 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/10.41, allocations: 7.375 kB / 4.123 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/10.41, allocations: 16.5 kB / 4.123 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/10.41, allocations: 329.8 kB / 4.124 GB, free: 253.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/10.41, allocations: 20.62 kB / 4.124 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/10.42, allocations: 203.2 kB / 4.124 GB, free: 253.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/10.42, allocations: 55.45 kB / 4.124 GB, free: 253.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0002692/10.42, allocations: 141.7 kB / 4.124 GB, free: 253.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/10.42, allocations: 115.5 kB / 4.124 GB, free: 253.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/10.42, allocations: 1.192 MB / 4.125 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/10.42, allocations: 8.5 kB / 4.125 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/10.42, allocations: 3.656 kB / 4.125 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/10.42, allocations: 5.234 kB / 4.125 GB, free: 253.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005086/10.43, allocations: 2.605 MB / 4.128 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/10.43, allocations: 3.969 kB / 4.128 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/10.43, allocations: 264.7 kB / 4.128 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/10.43, allocations: 8.719 kB / 4.128 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/10.43, allocations: 28.08 kB / 4.128 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/10.43, allocations: 11.31 kB / 4.128 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/10.43, allocations: 3.5 kB / 4.128 GB, free: 252.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00318/10.43, allocations: 2.14 MB / 4.13 GB, free: 252.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004623/10.43, allocations: 3.294 MB / 4.133 GB, free: 250.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/10.44, allocations: 314.1 kB / 4.134 GB, free: 250.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005445/10.44, allocations: 11.56 kB / 4.134 GB, free: 250.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/10.44, allocations: 144.8 kB / 4.134 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/10.44, allocations: 68.11 kB / 4.134 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/10.44, allocations: 38.94 kB / 4.134 GB, free: 250.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001421/10.44, allocations: 0.6464 MB / 4.135 GB, free: 249.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003517/10.44, allocations: 0.6627 MB / 4.135 GB, free: 249.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004085/10.45, allocations: 2.13 MB / 4.137 GB, free: 249 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002486/10.45, allocations: 1.042 MB / 4.138 GB, free: 248.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/10.45, allocations: 3.609 kB / 4.138 GB, free: 248.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/10.45, allocations: 0.536 MB / 4.139 GB, free: 248.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/10.45, allocations: 393.9 kB / 4.139 GB, free: 248.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/10.47, allocations: 2.785 MB / 4.142 GB, free: 247.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002311/10.48, allocations: 1.367 MB / 4.143 GB, free: 246.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.413e-06/10.48, allocations: 0 / 4.143 GB, free: 246.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)