Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="IDEAS_dev_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.004623/0.004623, allocations: 184.4 kB / 7.462 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6903/0.6903, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001044, allocations: 92.53 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3213/0.3224, allocations: 88.44 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.453, allocations: 82.29 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.032/3.485, allocations: 1.875 GB / 2.508 GB, free: 87.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/3.485, allocations: 91.94 kB / 2.508 GB, free: 87.37 MB / 0.6823 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.194/4.679, allocations: 463.1 MB / 2.961 GB, free: 157 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/4.679, allocations: 8.906 kB / 2.961 GB, free: 157 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009025/4.68, allocations: 177 kB / 2.961 GB, free: 157 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/4.681, allocations: 0.7112 MB / 2.962 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/4.681, allocations: 11.5 kB / 2.962 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/4.681, allocations: 28.38 kB / 2.962 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00046/4.682, allocations: 274.3 kB / 2.962 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/4.682, allocations: 375 kB / 2.962 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/4.682, allocations: 1.031 kB / 2.962 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/4.682, allocations: 2.156 kB / 2.962 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/4.682, allocations: 15.09 kB / 2.962 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/4.684, allocations: 1.9 MB / 2.964 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/4.685, allocations: 313.6 kB / 2.964 GB, free: 155 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/4.685, allocations: 138.7 kB / 2.964 GB, free: 154.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/4.685, allocations: 194.7 kB / 2.965 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/4.685, allocations: 41.09 kB / 2.965 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=28): time 1.302e-06/4.685, allocations: 0 / 2.965 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.001009/4.686, allocations: 407.4 kB / 2.965 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.491e-05/4.686, allocations: 53.62 kB / 2.965 GB, free: 154.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007447/4.687, allocations: 0.6467 MB / 2.966 GB, free: 154.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/4.687, allocations: 28.52 kB / 2.966 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/4.687, allocations: 230.1 kB / 2.966 GB, free: 154 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.425e-05/4.687, allocations: 96.88 kB / 2.966 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.567e-05/4.687, allocations: 3.562 kB / 2.966 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.852e-05/4.687, allocations: 317.6 kB / 2.966 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/4.687, allocations: 101.9 kB / 2.967 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/4.688, allocations: 276 kB / 2.967 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/4.688, allocations: 149.2 kB / 2.967 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/4.688, allocations: 0 / 2.967 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006834/4.689, allocations: 407.2 kB / 2.967 GB, free: 153 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/4.689, allocations: 279.3 kB / 2.968 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/4.689, allocations: 5.484 kB / 2.968 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001228/4.689, allocations: 25.17 kB / 2.968 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/4.689, allocations: 113 kB / 2.968 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004998/4.69, allocations: 1.176 MB / 2.969 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008426/4.691, allocations: 91.36 kB / 2.969 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/4.691, allocations: 10.12 kB / 2.969 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.41e-06/4.691, allocations: 3.375 kB / 2.969 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005118/4.691, allocations: 290 kB / 2.969 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-06/4.691, allocations: 1.469 kB / 2.969 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/4.692, allocations: 39.92 kB / 2.969 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/4.692, allocations: 92.91 kB / 2.969 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008429/4.693, allocations: 1.397 MB / 2.971 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008113/4.694, allocations: 94.36 kB / 2.971 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/4.694, allocations: 18.17 kB / 2.971 GB, free: 149.9 MB / 0.6823 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 8.576e-05/4.694, allocations: 111.2 kB / 2.971 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/4.694, allocations: 65.94 kB / 2.971 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006487/4.695, allocations: 411.4 kB / 2.971 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/4.695, allocations: 3.781 kB / 2.971 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/4.695, allocations: 0 / 2.971 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/4.695, allocations: 3.984 kB / 2.971 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/4.696, allocations: 1.132 MB / 2.973 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/4.696, allocations: 8.875 kB / 2.973 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/4.696, allocations: 68.42 kB / 2.973 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.29e-05/4.697, allocations: 29.16 kB / 2.973 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/4.697, allocations: 8.406 kB / 2.973 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003628/4.697, allocations: 1.159 MB / 2.974 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/4.697, allocations: 4.562 kB / 2.974 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008253/4.698, allocations: 0.729 MB / 2.974 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001269/4.699, allocations: 1.339 MB / 2.976 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/4.699, allocations: 211.6 kB / 2.976 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/4.699, allocations: 8.047 kB / 2.976 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007393/4.7, allocations: 59.69 kB / 2.976 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/4.7, allocations: 28.62 kB / 2.976 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/4.7, allocations: 17.92 kB / 2.976 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005035/4.701, allocations: 0.5071 MB / 2.977 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002533/4.703, allocations: 0.6665 MB / 2.977 GB, free: 145 MB / 0.6823 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.001295/4.705, allocations: 1.421 MB / 2.979 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001013/4.706, allocations: 0.5597 MB / 2.979 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/4.706, allocations: 0.6875 kB / 2.979 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003231/4.706, allocations: 164.9 kB / 2.979 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/4.707, allocations: 220 kB / 2.98 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/4.709, allocations: 0.9191 MB / 2.98 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/4.709, allocations: 1.027 MB / 2.981 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/4.709, allocations: 0 / 2.981 GB, free: 142.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)