Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.Orifice.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.Orifice,fileNamePrefix="Buildings_7_0_0_Buildings_Airflow_Multizone_Examples_Orifice",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.058/2.058, allocations: 248.6 MB / 255.9 MB, free: 388 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 176.3 kB / 315.1 MB, free: 7.812 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.194/2.194, allocations: 205.1 MB / 0.5658 GB, free: 25.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001409/0.001408, allocations: 85.62 kB / 0.67 GB, free: 3 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3089/0.3104, allocations: 112.4 MB / 0.7797 GB, free: 2.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.558/0.8684, allocations: 106.2 MB / 0.8835 GB, free: 77.34 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.919/6.788, allocations: 2.182 GB / 3.065 GB, free: 241.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/6.788, allocations: 82.8 kB / 3.065 GB, free: 241.8 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 1.601/8.389, allocations: 343.8 MB / 3.401 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/8.389, allocations: 10.75 kB / 3.401 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/8.391, allocations: 186 kB / 3.401 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/8.392, allocations: 414.1 kB / 3.402 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/8.392, allocations: 7.781 kB / 3.402 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.871e-05/8.392, allocations: 21.47 kB / 3.402 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007439/8.393, allocations: 253.2 kB / 3.402 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007656/8.394, allocations: 344.5 kB / 3.402 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/8.394, allocations: 0 / 3.402 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/8.394, allocations: 0 / 3.402 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/8.394, allocations: 6.625 kB / 3.402 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/8.397, allocations: 1.631 MB / 3.404 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/8.398, allocations: 253.6 kB / 3.404 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/8.398, allocations: 122.3 kB / 3.404 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/8.399, allocations: 1.043 MB / 3.405 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/8.399, allocations: 41.38 kB / 3.405 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 3.356e-06/8.399, allocations: 0 / 3.405 GB, free: 231.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.001855/8.401, allocations: 320.4 kB / 3.406 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/8.401, allocations: 57.8 kB / 3.406 GB, free: 231.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/8.402, allocations: 255.4 kB / 3.406 GB, free: 231 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/8.402, allocations: 25.7 kB / 3.406 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.994e-05/8.402, allocations: 166.5 kB / 3.406 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.462e-05/8.402, allocations: 86.5 kB / 3.406 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/8.402, allocations: 3.594 kB / 3.406 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.563e-05/8.402, allocations: 346.2 kB / 3.407 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/8.402, allocations: 54.88 kB / 3.407 GB, free: 230.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/8.403, allocations: 110.2 kB / 3.407 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/8.403, allocations: 133.6 kB / 3.407 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/8.403, allocations: 0.9375 kB / 3.407 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009369/8.404, allocations: 285.9 kB / 3.407 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/8.404, allocations: 4.719 kB / 3.407 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/8.404, allocations: 0 / 3.407 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/8.404, allocations: 3.844 kB / 3.407 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/8.405, allocations: 58.19 kB / 3.407 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/8.405, allocations: 0 / 3.407 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/8.405, allocations: 29.81 kB / 3.407 GB, free: 230.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/8.405, allocations: 21.25 kB / 3.407 GB, free: 230.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001145/8.406, allocations: 108.2 kB / 3.407 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/8.406, allocations: 35.09 kB / 3.407 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/8.407, allocations: 292.1 kB / 3.408 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/8.407, allocations: 3.438 kB / 3.408 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/8.407, allocations: 6.625 kB / 3.408 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/8.407, allocations: 0 / 3.408 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/8.409, allocations: 0.7941 MB / 3.408 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/8.409, allocations: 6.844 kB / 3.408 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000498/8.409, allocations: 57.19 kB / 3.409 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/8.409, allocations: 3.562 kB / 3.409 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/8.409, allocations: 5.281 kB / 3.409 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/8.409, allocations: 7.594 kB / 3.409 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/8.409, allocations: 7.531 kB / 3.409 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001259/8.411, allocations: 0.6117 MB / 3.409 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001821/8.413, allocations: 1.133 MB / 3.41 GB, free: 228.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/8.413, allocations: 135.1 kB / 3.41 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-05/8.413, allocations: 5.844 kB / 3.41 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/8.414, allocations: 26.67 kB / 3.41 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-05/8.414, allocations: 22.19 kB / 3.41 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/8.414, allocations: 15.08 kB / 3.41 GB, free: 228.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003024/8.414, allocations: 208.1 kB / 3.411 GB, free: 228.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002302/8.416, allocations: 343 kB / 3.411 GB, free: 228.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002472/8.419, allocations: 1.366 MB / 3.412 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000628/8.42, allocations: 165.6 kB / 3.412 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/8.42, allocations: 3.969 kB / 3.412 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002511/8.42, allocations: 95.81 kB / 3.413 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/8.421, allocations: 158.7 kB / 3.413 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/8.424, allocations: 0.6684 MB / 3.413 GB, free: 228 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/8.424, allocations: 0.871 MB / 3.414 GB, free: 227.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.322e-06/8.424, allocations: 0 / 3.414 GB, free: 227.3 MB / 0.8698 GB