Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",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.384/2.384, allocations: 248.6 MB / 255.9 MB, free: 7.176 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.002618/0.002618, allocations: 186.6 kB / 315.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.1 MB / 0.5658 GB, free: 356 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.001294/0.001293, allocations: 94.52 kB / 0.67 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5479/0.5493, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.8089, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6894/1.498, allocations: 131.5 MB / 1.012 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/1.499, allocations: 71.89 kB / 1.012 GB, free: 8.684 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003369/1.502, allocations: 0.708 MB / 1.013 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/1.502, allocations: 12 kB / 1.013 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/1.502, allocations: 0 / 1.013 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/1.502, allocations: 175 kB / 1.013 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/1.503, allocations: 7.938 kB / 1.013 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/1.503, allocations: 0 / 1.013 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.443e-05/1.503, allocations: 19.38 kB / 1.013 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/1.503, allocations: 40.88 kB / 1.013 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.537e-06/1.503, allocations: 0 / 1.013 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/1.503, allocations: 4 kB / 1.013 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.503, allocations: 3.906 kB / 1.013 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/1.503, allocations: 252.2 kB / 1.013 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.208e-05/1.504, allocations: 36.66 kB / 1.013 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/1.504, allocations: 8.922 kB / 1.013 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/1.504, allocations: 4 kB / 1.013 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/1.504, allocations: 50.84 kB / 1.013 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.364e-06/1.504, allocations: 0 / 1.013 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001825/1.504, allocations: 37.64 kB / 1.013 GB, free: 7.27 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/1.504, allocations: 59.34 kB / 1.013 GB, free: 7.199 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/1.504, allocations: 100.6 kB / 1.013 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/1.504, allocations: 25.7 kB / 1.013 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/1.504, allocations: 91.08 kB / 1.014 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/1.504, allocations: 7.891 kB / 1.014 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/1.504, allocations: 0 / 1.014 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.504, allocations: 322.8 kB / 1.014 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/1.504, allocations: 0 / 1.014 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.21e-05/1.504, allocations: 20.59 kB / 1.014 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/1.505, allocations: 8.125 kB / 1.014 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.505, allocations: 0 / 1.014 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001234/1.505, allocations: 57.34 kB / 1.014 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.505, allocations: 4.938 kB / 1.014 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.505, allocations: 0 / 1.014 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/1.505, allocations: 4 kB / 1.014 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.486e-05/1.505, allocations: 0 / 1.014 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/1.505, allocations: 3.938 kB / 1.014 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/1.505, allocations: 14.86 kB / 1.014 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/1.505, allocations: 0 / 1.014 GB, free: 6.535 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booRep.y[3],$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001059/1.505, allocations: 113 kB / 1.014 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/1.505, allocations: 3.906 kB / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/1.505, allocations: 3.688 kB / 1.014 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.505, allocations: 4 kB / 1.014 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.505, allocations: 3.984 kB / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.505, allocations: 0 / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/1.505, allocations: 141.6 kB / 1.014 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.505, allocations: 0 / 1.014 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/1.506, allocations: 4 kB / 1.014 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.506, allocations: 4 kB / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/1.506, allocations: 0 / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.506, allocations: 2.875 kB / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/1.506, allocations: 3.938 kB / 1.014 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001811/1.506, allocations: 72.08 kB / 1.014 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002667/1.506, allocations: 457 kB / 1.015 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/1.506, allocations: 77.11 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/1.506, allocations: 0 / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/1.506, allocations: 7.984 kB / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/1.506, allocations: 4 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/1.506, allocations: 0 / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.167e-05/1.506, allocations: 82.47 kB / 1.015 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001092/1.508, allocations: 15.91 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,booRep.y[3],booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001799/1.508, allocations: 107.5 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001308/1.508, allocations: 18.12 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.508, allocations: 0 / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/1.508, allocations: 6.875 kB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/1.508, allocations: 11.28 kB / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/1.509, allocations: 75.41 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004012/1.509, allocations: 0.6947 MB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/1.509, allocations: 3.938 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB