Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.OneOpenDoor.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_7_0_0_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.1/package.mo): time 2.145/2.145, allocations: 248.6 MB / 255.9 MB, free: 7.133 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.001742/0.001742, allocations: 185.2 kB / 315.1 MB, free: 4.277 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.975/1.975, allocations: 205.1 MB / 0.5658 GB, free: 384 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001582/0.001582, allocations: 86.72 kB / 0.67 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5292/0.5308, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.7621, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.67/2.432, allocations: 441.9 MB / 1.315 GB, free: 258.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000361/2.432, allocations: 83.72 kB / 1.315 GB, free: 258.9 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.9747/3.407, allocations: 283.2 MB / 1.592 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/3.407, allocations: 12 kB / 1.592 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/3.408, allocations: 193.7 kB / 1.592 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005093/3.413, allocations: 1.367 MB / 1.593 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.404e-05/3.414, allocations: 48 kB / 1.593 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000354/3.414, allocations: 84 kB / 1.593 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3855/3.799, allocations: 2.267 MB / 1.596 GB, free: 288.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005177/3.805, allocations: 1.65 MB / 1.597 GB, free: 288.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-05/3.805, allocations: 4.625 kB / 1.597 GB, free: 288.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001985/3.805, allocations: 0 / 1.597 GB, free: 288.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/3.805, allocations: 36.78 kB / 1.597 GB, free: 288.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01425/3.819, allocations: 4.989 MB / 1.602 GB, free: 287.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003189/3.823, allocations: 1.162 MB / 1.603 GB, free: 287.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004086/3.827, allocations: 1.349 MB / 1.605 GB, free: 287.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002341/3.829, allocations: 1.731 MB / 1.606 GB, free: 285.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.746e-05/3.829, allocations: 62 kB / 1.606 GB, free: 285.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=237): time 4.718e-06/3.829, allocations: 0 / 1.606 GB, free: 285.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=237): time 0.011/3.84, allocations: 2.439 MB / 1.609 GB, free: 285 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/3.84, allocations: 79.22 kB / 1.609 GB, free: 284.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/3.842, allocations: 0.666 MB / 1.609 GB, free: 284.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000488/3.843, allocations: 29.64 kB / 1.609 GB, free: 284.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/3.843, allocations: 365.2 kB / 1.61 GB, free: 284.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001135/3.844, allocations: 0.7556 MB / 1.611 GB, free: 284.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/3.844, allocations: 2.719 kB / 1.611 GB, free: 284.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001606/3.844, allocations: 388.2 kB / 1.611 GB, free: 283.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/3.847, allocations: 0.8468 MB / 1.612 GB, free: 283.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002752/3.849, allocations: 1.049 MB / 1.613 GB, free: 283.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006138/3.856, allocations: 1.302 MB / 1.614 GB, free: 283.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-05/3.856, allocations: 3.938 kB / 1.614 GB, free: 283.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.0101/3.866, allocations: 2.541 MB / 1.616 GB, free: 283.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/3.866, allocations: 7.812 kB / 1.616 GB, free: 283.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/3.866, allocations: 3.688 kB / 1.616 GB, free: 283.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.403e-05/3.866, allocations: 15 kB / 1.617 GB, free: 283.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004149/3.87, allocations: 437.7 kB / 1.617 GB, free: 283.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.711e-05/3.87, allocations: 25.42 kB / 1.617 GB, free: 283.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/3.873, allocations: 171.3 kB / 1.617 GB, free: 283.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003525/3.874, allocations: 74.05 kB / 1.617 GB, free: 283.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * 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.0005292/3.874, allocations: 143.9 kB / 1.617 GB, free: 283.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004765/3.875, allocations: 138.4 kB / 1.617 GB, free: 283.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/3.886, allocations: 2.869 MB / 1.62 GB, free: 283.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/3.886, allocations: 29.88 kB / 1.62 GB, free: 283.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/3.886, allocations: 0 / 1.62 GB, free: 283.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008811/3.895, allocations: 2.514 MB / 1.623 GB, free: 282.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01558/3.911, allocations: 4.24 MB / 1.627 GB, free: 282.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/3.911, allocations: 3.969 kB / 1.627 GB, free: 282.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003875/3.915, allocations: 418.5 kB / 1.627 GB, free: 282.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007155/3.915, allocations: 81.14 kB / 1.627 GB, free: 282.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003902/3.916, allocations: 21.62 kB / 1.627 GB, free: 282.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009462/3.917, allocations: 1.128 MB / 1.628 GB, free: 281.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/3.917, allocations: 0 / 1.628 GB, free: 281.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01333/3.93, allocations: 4.223 MB / 1.633 GB, free: 281.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01694/3.947, allocations: 6.123 MB / 1.639 GB, free: 280.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/3.949, allocations: 498.3 kB / 1.639 GB, free: 280.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004762/3.95, allocations: 3.438 kB / 1.639 GB, free: 280.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/3.952, allocations: 77.78 kB / 1.639 GB, free: 280.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003372/3.952, allocations: 124.6 kB / 1.639 GB, free: 280.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/3.952, allocations: 67.09 kB / 1.639 GB, free: 280.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001079/3.954, allocations: 0.5164 MB / 1.64 GB, free: 280.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004063/3.958, allocations: 0.6784 MB / 1.64 GB, free: 280.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001728/3.959, allocations: 0.5618 MB / 1.641 GB, free: 280 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007212/3.967, allocations: 2.199 MB / 1.643 GB, free: 280 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/3.967, allocations: 3.375 kB / 1.643 GB, free: 280 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003543/3.97, allocations: 1.235 MB / 1.644 GB, free: 280 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00489/3.975, allocations: 466.9 kB / 1.645 GB, free: 280 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/3.985, allocations: 3.179 MB / 1.648 GB, free: 279.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002646/3.988, allocations: 1.579 MB / 1.649 GB, free: 278.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.233e-06/3.988, allocations: 0 / 1.649 GB, free: 278.7 MB / 0.8698 GB