Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.069/2.069, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001077/0.001077, allocations: 181.2 kB / 487 MB, free: 5.355 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.541/1.541, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009313/0.0009314, allocations: 94.38 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.7237/0.7247, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/1.012, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.696/5.708, allocations: 1.912 GB / 3.117 GB, free: 395.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/5.709, allocations: 87.89 kB / 3.117 GB, free: 395.3 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.874/7.583, allocations: 463.1 MB / 3.57 GB, free: 309.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/7.583, allocations: 11.66 kB / 3.57 GB, free: 309.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/7.585, allocations: 180.3 kB / 3.57 GB, free: 309.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/7.587, allocations: 0.7049 MB / 3.571 GB, free: 309.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/7.587, allocations: 13.44 kB / 3.571 GB, free: 309.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/7.587, allocations: 30.38 kB / 3.571 GB, free: 309.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006443/7.588, allocations: 275.5 kB / 3.571 GB, free: 309.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/7.589, allocations: 371.8 kB / 3.571 GB, free: 309.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/7.589, allocations: 0 / 3.571 GB, free: 309.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/7.589, allocations: 0 / 3.571 GB, free: 309.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/7.589, allocations: 21.64 kB / 3.571 GB, free: 309.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003552/7.592, allocations: 1.895 MB / 3.573 GB, free: 308.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/7.593, allocations: 324.9 kB / 3.573 GB, free: 308.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/7.593, allocations: 138.9 kB / 3.574 GB, free: 308.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003572/7.593, allocations: 199 kB / 3.574 GB, free: 308.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/7.594, allocations: 30.8 kB / 3.574 GB, free: 308.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 2.565e-06/7.594, allocations: 3.312 kB / 3.574 GB, free: 308.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=28): time 0.001479/7.595, allocations: 411.5 kB / 3.574 GB, free: 308 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/7.595, allocations: 58.17 kB / 3.574 GB, free: 307.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/7.596, allocations: 0.6428 MB / 3.575 GB, free: 307.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/7.596, allocations: 25.7 kB / 3.575 GB, free: 307.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/7.596, allocations: 228 kB / 3.575 GB, free: 307.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/7.596, allocations: 93.95 kB / 3.575 GB, free: 307.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/7.596, allocations: 3.75 kB / 3.575 GB, free: 307.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.567e-05/7.597, allocations: 324.2 kB / 3.576 GB, free: 307.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/7.597, allocations: 105.6 kB / 3.576 GB, free: 307.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/7.597, allocations: 267.2 kB / 3.576 GB, free: 307.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/7.597, allocations: 149 kB / 3.576 GB, free: 307.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/7.597, allocations: 0 / 3.576 GB, free: 307.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009233/7.598, allocations: 410.2 kB / 3.576 GB, free: 307 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/7.598, allocations: 273.8 kB / 3.577 GB, free: 306.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/7.598, allocations: 2.969 kB / 3.577 GB, free: 306.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001961/7.599, allocations: 30.61 kB / 3.577 GB, free: 306.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/7.599, allocations: 114.4 kB / 3.577 GB, free: 306.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007511/7.6, allocations: 1.169 MB / 3.578 GB, free: 305.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/7.601, allocations: 89.23 kB / 3.578 GB, free: 305.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/7.601, allocations: 22.08 kB / 3.578 GB, free: 305.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/7.601, allocations: 3.438 kB / 3.578 GB, free: 305.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000565/7.602, allocations: 285.9 kB / 3.578 GB, free: 305.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/7.602, allocations: 0 / 3.578 GB, free: 305.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/7.602, allocations: 36.86 kB / 3.578 GB, free: 305.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/7.603, allocations: 102.9 kB / 3.578 GB, free: 305.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/7.604, allocations: 1.397 MB / 3.58 GB, free: 304.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/7.605, allocations: 89.67 kB / 3.58 GB, free: 304.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/7.605, allocations: 22.91 kB / 3.58 GB, free: 304.3 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.0001748/7.605, allocations: 108.8 kB / 3.58 GB, free: 304.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/7.605, allocations: 66.44 kB / 3.58 GB, free: 304.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008502/7.606, allocations: 415.6 kB / 3.58 GB, free: 304.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/7.606, allocations: 7.719 kB / 3.581 GB, free: 304.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/7.606, allocations: 0 / 3.581 GB, free: 304.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/7.606, allocations: 3.703 kB / 3.581 GB, free: 304.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/7.608, allocations: 1.13 MB / 3.582 GB, free: 303.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/7.608, allocations: 3.906 kB / 3.582 GB, free: 303.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/7.609, allocations: 70.44 kB / 3.582 GB, free: 303.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.704e-05/7.609, allocations: 34.05 kB / 3.582 GB, free: 303.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/7.609, allocations: 10.62 kB / 3.582 GB, free: 303.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005184/7.609, allocations: 1.152 MB / 3.583 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/7.609, allocations: 9.312 kB / 3.583 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001023/7.61, allocations: 0.7188 MB / 3.584 GB, free: 302.3 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001714/7.612, allocations: 1.336 MB / 3.585 GB, free: 301.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/7.613, allocations: 215.6 kB / 3.585 GB, free: 301.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/7.613, allocations: 7.281 kB / 3.585 GB, free: 301.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009843/7.614, allocations: 54.91 kB / 3.585 GB, free: 301.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/7.614, allocations: 30.64 kB / 3.585 GB, free: 301.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/7.614, allocations: 15.78 kB / 3.585 GB, free: 301.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008532/7.615, allocations: 0.508 MB / 3.586 GB, free: 301.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003687/7.619, allocations: 0.6741 MB / 3.586 GB, free: 301.4 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.002533/7.621, allocations: 1.409 MB / 3.588 GB, free: 301.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001522/7.623, allocations: 0.5655 MB / 3.588 GB, free: 301 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/7.623, allocations: 0 / 3.588 GB, free: 301 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/7.623, allocations: 157.2 kB / 3.588 GB, free: 301 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/7.625, allocations: 225 kB / 3.589 GB, free: 300.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002575/7.627, allocations: 0.9276 MB / 3.59 GB, free: 300.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000894/7.628, allocations: 1.026 MB / 3.591 GB, free: 299.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.634e-06/7.628, allocations: 3.844 kB / 3.591 GB, free: 299.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)