Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.Outside.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.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_Outside",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.408/2.408, allocations: 248.6 MB / 255.9 MB, free: 7.168 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.001758/0.001758, allocations: 173.3 kB / 315.1 MB, free: 4.309 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.979/1.979, allocations: 205.1 MB / 0.5658 GB, free: 396 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.001468/0.001468, allocations: 86.77 kB / 0.67 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5122/0.5137, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.7125, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.699/6.412, allocations: 2.22 GB / 3.103 GB, free: 97.44 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004756/6.413, allocations: 86.83 kB / 3.103 GB, free: 97.4 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 1.935/8.348, allocations: 386 MB / 3.48 GB, free: 43.68 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/8.348, allocations: 12 kB / 3.48 GB, free: 43.66 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005078/8.353, allocations: 361.8 kB / 3.481 GB, free: 43.31 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004662/8.358, allocations: 1.118 MB / 3.482 GB, free: 42.14 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-05/8.358, allocations: 36 kB / 3.482 GB, free: 42.11 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/8.358, allocations: 64 kB / 3.482 GB, free: 42.05 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003863/8.362, allocations: 1.289 MB / 3.483 GB, free: 40.75 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003317/8.366, allocations: 1.038 MB / 3.484 GB, free: 39.65 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/8.366, allocations: 11.88 kB / 3.484 GB, free: 39.64 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/8.366, allocations: 0 / 3.484 GB, free: 39.64 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/8.366, allocations: 28 kB / 3.484 GB, free: 39.61 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01069/8.377, allocations: 3.57 MB / 3.487 GB, free: 35.91 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/8.379, allocations: 0.9403 MB / 3.488 GB, free: 34.96 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009473/8.38, allocations: 395.1 kB / 3.489 GB, free: 34.58 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/8.381, allocations: 0.4983 MB / 3.489 GB, free: 33.99 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00144/8.383, allocations: 0.5465 MB / 3.49 GB, free: 33.42 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=97): time 4.459e-06/8.383, allocations: 4 kB / 3.49 GB, free: 33.42 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97): time 0.005796/8.389, allocations: 1.107 MB / 3.491 GB, free: 32.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/8.389, allocations: 248.1 kB / 3.491 GB, free: 32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/8.39, allocations: 0.6095 MB / 3.492 GB, free: 31.38 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003382/8.391, allocations: 29.7 kB / 3.492 GB, free: 31.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/8.391, allocations: 395.9 kB / 3.492 GB, free: 30.95 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004051/8.391, allocations: 311.3 kB / 3.492 GB, free: 30.64 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.387e-05/8.392, allocations: 0 / 3.492 GB, free: 30.64 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.902e-05/8.392, allocations: 337.9 kB / 3.493 GB, free: 30.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000846/8.393, allocations: 309.9 kB / 3.493 GB, free: 30 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009744/8.394, allocations: 461.6 kB / 3.493 GB, free: 29.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/8.396, allocations: 0.5168 MB / 3.494 GB, free: 28.99 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/8.396, allocations: 0 / 3.494 GB, free: 28.99 MB / 0.8698 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005576/8.402, allocations: 1.093 MB / 3.495 GB, free: 27.89 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/8.402, allocations: 4 kB / 3.495 GB, free: 27.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/8.402, allocations: 0 / 3.495 GB, free: 27.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/8.403, allocations: 84.84 kB / 3.495 GB, free: 27.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/8.405, allocations: 211.7 kB / 3.495 GB, free: 27.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002829/8.408, allocations: 1.461 MB / 3.497 GB, free: 26.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/8.409, allocations: 91.3 kB / 3.497 GB, free: 25.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/8.41, allocations: 35.98 kB / 3.497 GB, free: 25.88 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003344/8.41, allocations: 128.1 kB / 3.497 GB, free: 25.75 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/8.41, allocations: 102.8 kB / 3.497 GB, free: 25.65 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00597/8.416, allocations: 1.45 MB / 3.499 GB, free: 24.18 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/8.416, allocations: 12 kB / 3.499 GB, free: 24.17 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/8.416, allocations: 0 / 3.499 GB, free: 24.17 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/8.416, allocations: 3.984 kB / 3.499 GB, free: 24.16 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008317/8.425, allocations: 2.539 MB / 3.501 GB, free: 21.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/8.425, allocations: 4 kB / 3.501 GB, free: 21.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/8.427, allocations: 199.7 kB / 3.501 GB, free: 21.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009664/8.428, allocations: 88.95 kB / 3.501 GB, free: 21.25 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/8.428, allocations: 19.98 kB / 3.501 GB, free: 21.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/8.431, allocations: 1.496 MB / 3.503 GB, free: 19.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/8.431, allocations: 3.984 kB / 3.503 GB, free: 19.61 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005848/8.437, allocations: 1.818 MB / 3.505 GB, free: 17.71 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00778/8.444, allocations: 2.817 MB / 3.507 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/8.446, allocations: 343.4 kB / 3.508 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002982/8.446, allocations: 11.89 kB / 3.508 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/8.448, allocations: 71.94 kB / 3.508 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002293/8.448, allocations: 68.89 kB / 3.508 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/8.448, allocations: 39.98 kB / 3.508 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001015/8.449, allocations: 0.4952 MB / 3.508 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004196/8.453, allocations: 0.7096 MB / 3.509 GB, free: 13.08 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004132/8.458, allocations: 1.928 MB / 3.511 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002846/8.461, allocations: 0.9163 MB / 3.512 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/8.461, allocations: 0 / 3.512 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/8.462, allocations: 0.58 MB / 3.512 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/8.466, allocations: 340.2 kB / 3.513 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008492/8.474, allocations: 1.968 MB / 3.515 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001738/8.476, allocations: 1.304 MB / 3.516 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of SimCode: time 1.973e-06/8.476, allocations: 0 / 3.516 GB, free: 6.004 MB / 0.8698 GB