Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.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.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE",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.379/2.379, allocations: 248.6 MB / 255.9 MB, free: 7.184 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.002471/0.002471, allocations: 179.8 kB / 315.1 MB, free: 4.289 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.275/2.275, allocations: 205.1 MB / 0.5658 GB, free: 372 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.001347/0.001347, allocations: 101.5 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5185/0.5199, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.7824, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.455/7.237, allocations: 2.192 GB / 3.076 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/7.238, allocations: 80.08 kB / 3.076 GB, free: 176.6 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.2101/7.448, allocations: 55.59 MB / 3.13 GB, free: 128 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/7.448, allocations: 8 kB / 3.13 GB, free: 128 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00318/7.451, allocations: 206.8 kB / 3.131 GB, free: 127.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/7.453, allocations: 0.5268 MB / 3.131 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/7.453, allocations: 8 kB / 3.131 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/7.453, allocations: 19.89 kB / 3.131 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009133/7.454, allocations: 276.6 kB / 3.131 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/7.454, allocations: 278.7 kB / 3.132 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/7.454, allocations: 0 / 3.132 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-05/7.455, allocations: 3.984 kB / 3.132 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/7.455, allocations: 4 kB / 3.132 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004146/7.459, allocations: 1.179 MB / 3.133 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007964/7.46, allocations: 341.6 kB / 3.133 GB, free: 125 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004143/7.46, allocations: 169.7 kB / 3.133 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.745e-05/7.46, allocations: 4 kB / 3.133 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005526/7.461, allocations: 268.8 kB / 3.134 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 3.286e-06/7.461, allocations: 4 kB / 3.134 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.009607/7.47, allocations: 0.6149 MB / 3.134 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/7.47, allocations: 85.05 kB / 3.134 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004819/7.475, allocations: 1.18 MB / 3.135 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001919/7.476, allocations: 29.64 kB / 3.135 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/7.476, allocations: 196.4 kB / 3.136 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/7.476, allocations: 94.66 kB / 3.136 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/7.476, allocations: 0 / 3.136 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.703e-05/7.476, allocations: 322 kB / 3.136 GB, free: 122 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005657/7.477, allocations: 139.9 kB / 3.136 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/7.477, allocations: 194 kB / 3.136 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008796/7.478, allocations: 159.9 kB / 3.136 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/7.478, allocations: 0 / 3.136 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0096/7.488, allocations: 0.6493 MB / 3.137 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/7.488, allocations: 4 kB / 3.137 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/7.488, allocations: 4 kB / 3.137 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009403/7.489, allocations: 124.8 kB / 3.137 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/7.49, allocations: 67.89 kB / 3.137 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/7.502, allocations: 1.829 MB / 3.139 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/7.503, allocations: 39.83 kB / 3.139 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/7.504, allocations: 15.97 kB / 3.139 GB, free: 118.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002563/7.504, allocations: 113.9 kB / 3.139 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/7.504, allocations: 82.97 kB / 3.139 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/7.515, allocations: 0.7587 MB / 3.14 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/7.515, allocations: 4 kB / 3.14 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/7.515, allocations: 0 / 3.14 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/7.515, allocations: 3.984 kB / 3.14 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/7.517, allocations: 0.6176 MB / 3.141 GB, free: 117 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/7.517, allocations: 0 / 3.141 GB, free: 117 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/7.518, allocations: 59.91 kB / 3.141 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008815/7.519, allocations: 124.7 kB / 3.141 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/7.519, allocations: 7.984 kB / 3.141 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/7.531, allocations: 1.845 MB / 3.143 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/7.531, allocations: 0 / 3.143 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009496/7.54, allocations: 0.7125 MB / 3.143 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00947/7.55, allocations: 1.105 MB / 3.144 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007523/7.551, allocations: 231.9 kB / 3.145 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003919/7.551, allocations: 11.89 kB / 3.145 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/7.553, allocations: 19.98 kB / 3.145 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/7.553, allocations: 27.95 kB / 3.145 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/7.553, allocations: 15.98 kB / 3.145 GB, free: 112.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002519/7.555, allocations: 0.9364 MB / 3.146 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003706/7.559, allocations: 263.8 kB / 3.146 GB, free: 111.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002704/7.562, allocations: 0.9116 MB / 3.147 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002213/7.564, allocations: 493.5 kB / 3.147 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/7.564, allocations: 0 / 3.147 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/7.566, allocations: 337.8 kB / 3.148 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/7.567, allocations: 87.25 kB / 3.148 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/7.573, allocations: 1.383 MB / 3.149 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001701/7.575, allocations: 1.051 MB / 3.15 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of SimCode: time 3.446e-06/7.575, allocations: 0 / 3.15 GB, free: 107.2 MB / 0.8698 GB