Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.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.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",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.284/2.284, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001131/0.001131, allocations: 188.1 kB / 490.8 MB, free: 1.945 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.593/1.593, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.001052/0.001052, allocations: 91.86 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7259/0.727, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/1.012, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.576/6.588, allocations: 1.913 GB / 3.125 GB, free: 423.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/6.588, allocations: 87.56 kB / 3.125 GB, free: 423.8 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 1.798/8.386, allocations: 463.1 MB / 3.577 GB, free: 312 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/8.386, allocations: 7.469 kB / 3.577 GB, free: 312 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/8.388, allocations: 175.5 kB / 3.577 GB, free: 312 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/8.39, allocations: 0.7099 MB / 3.578 GB, free: 311.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/8.39, allocations: 14 kB / 3.578 GB, free: 311.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/8.39, allocations: 31.81 kB / 3.578 GB, free: 311.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006251/8.391, allocations: 274.3 kB / 3.578 GB, free: 311.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/8.392, allocations: 374.6 kB / 3.578 GB, free: 311.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/8.392, allocations: 0 / 3.578 GB, free: 311.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/8.392, allocations: 0 / 3.578 GB, free: 311.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/8.392, allocations: 26.91 kB / 3.578 GB, free: 311.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/8.395, allocations: 1.9 MB / 3.58 GB, free: 310.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/8.396, allocations: 311.8 kB / 3.581 GB, free: 310.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/8.396, allocations: 146.5 kB / 3.581 GB, free: 310.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003116/8.396, allocations: 192 kB / 3.581 GB, free: 310.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/8.396, allocations: 46.02 kB / 3.581 GB, free: 310.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 2.365e-06/8.396, allocations: 0 / 3.581 GB, free: 310.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.001384/8.398, allocations: 409.2 kB / 3.581 GB, free: 310.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/8.398, allocations: 55.34 kB / 3.581 GB, free: 310.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/8.399, allocations: 0.6426 MB / 3.582 GB, free: 310.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/8.399, allocations: 25.7 kB / 3.582 GB, free: 310.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/8.399, allocations: 222.9 kB / 3.582 GB, free: 310.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/8.399, allocations: 97.77 kB / 3.582 GB, free: 310 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/8.399, allocations: 0 / 3.582 GB, free: 310 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.085e-05/8.399, allocations: 320.2 kB / 3.583 GB, free: 309.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/8.399, allocations: 105.8 kB / 3.583 GB, free: 309.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/8.4, allocations: 273.9 kB / 3.583 GB, free: 309.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/8.4, allocations: 145.2 kB / 3.583 GB, free: 309.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/8.4, allocations: 0 / 3.583 GB, free: 309.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008943/8.401, allocations: 409.7 kB / 3.584 GB, free: 309.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.916e-05/8.401, allocations: 270.2 kB / 3.584 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/8.401, allocations: 0 / 3.584 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001764/8.401, allocations: 33.05 kB / 3.584 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/8.402, allocations: 113 kB / 3.584 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000641/8.402, allocations: 1.17 MB / 3.585 GB, free: 308.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/8.404, allocations: 91.09 kB / 3.585 GB, free: 308.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/8.404, allocations: 19.25 kB / 3.585 GB, free: 308.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/8.404, allocations: 3.719 kB / 3.585 GB, free: 308.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005629/8.404, allocations: 290.1 kB / 3.585 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/8.404, allocations: 3.625 kB / 3.585 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/8.404, allocations: 39.69 kB / 3.586 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/8.405, allocations: 93.95 kB / 3.586 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/8.406, allocations: 1.4 MB / 3.587 GB, free: 306.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/8.407, allocations: 90.69 kB / 3.587 GB, free: 306.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/8.407, allocations: 14.53 kB / 3.587 GB, free: 306.8 MB / 1.151 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001664/8.407, allocations: 114.9 kB / 3.587 GB, free: 306.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/8.408, allocations: 65.94 kB / 3.587 GB, free: 306.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008858/8.409, allocations: 413.1 kB / 3.588 GB, free: 306.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/8.409, allocations: 0 / 3.588 GB, free: 306.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/8.409, allocations: 6.875 kB / 3.588 GB, free: 306.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/8.409, allocations: 3.906 kB / 3.588 GB, free: 306.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001972/8.411, allocations: 1.116 MB / 3.589 GB, free: 306.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/8.411, allocations: 15.12 kB / 3.589 GB, free: 306.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/8.411, allocations: 64.28 kB / 3.589 GB, free: 306.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.408e-05/8.411, allocations: 31.84 kB / 3.589 GB, free: 306.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/8.411, allocations: 14.3 kB / 3.589 GB, free: 306.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000503/8.412, allocations: 1.16 MB / 3.59 GB, free: 305.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/8.412, allocations: 0 / 3.59 GB, free: 305.1 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001057/8.413, allocations: 0.7317 MB / 3.591 GB, free: 304.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001496/8.414, allocations: 1.338 MB / 3.592 GB, free: 304.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/8.415, allocations: 209.3 kB / 3.592 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/8.415, allocations: 7.656 kB / 3.592 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007871/8.415, allocations: 60.17 kB / 3.592 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/8.416, allocations: 24.58 kB / 3.592 GB, free: 303.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.734e-05/8.416, allocations: 11.75 kB / 3.592 GB, free: 303.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006304/8.416, allocations: 0.5103 MB / 3.593 GB, free: 303.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002936/8.419, allocations: 0.6786 MB / 3.593 GB, free: 303.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.s[1],dam.filter.s[2],vav.filter.s[1],vav.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001837/8.421, allocations: 1.415 MB / 3.595 GB, free: 303.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001437/8.423, allocations: 0.5591 MB / 3.595 GB, free: 303.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/8.423, allocations: 3.062 kB / 3.595 GB, free: 303.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/8.423, allocations: 159.8 kB / 3.596 GB, free: 303.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/8.424, allocations: 224.5 kB / 3.596 GB, free: 303.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/8.426, allocations: 0.9203 MB / 3.597 GB, free: 303.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006262/8.427, allocations: 1.035 MB / 3.598 GB, free: 302.3 MB / 1.151 GB Notification: Performance of SimCode: time 8.11e-07/8.427, allocations: 0 / 3.598 GB, free: 302.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)