Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",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.231/2.231, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.001717/0.001717, allocations: 191.4 kB / 315.1 MB, free: 4.254 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.818/1.818, allocations: 205.1 MB / 0.5658 GB, free: 360 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.001344/0.001343, allocations: 93.67 kB / 0.67 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4719/0.4733, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.6773, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.505/2.182, allocations: 447.1 MB / 1.32 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004056/2.182, allocations: 94.72 kB / 1.32 GB, free: 253.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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 5.035/7.218, allocations: 1.138 GB / 2.458 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.394e-05/7.218, allocations: 10.44 kB / 2.458 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004732/7.222, allocations: 485.8 kB / 2.459 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/7.233, allocations: 2.307 MB / 2.461 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/7.233, allocations: 38.94 kB / 2.461 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004372/7.234, allocations: 73.09 kB / 2.461 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003219/7.237, allocations: 0.7832 MB / 2.462 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003514/7.24, allocations: 1.097 MB / 2.463 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-05/7.241, allocations: 1.641 kB / 2.463 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001833/7.241, allocations: 9.5 kB / 2.463 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.024e-05/7.241, allocations: 30.64 kB / 2.463 GB, free: 120.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01573/7.257, allocations: 6.919 MB / 2.47 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/7.258, allocations: 0.6167 MB / 2.47 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007812/7.259, allocations: 324.2 kB / 2.471 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008126/7.267, allocations: 2.812 MB / 2.473 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009766/7.268, allocations: 338.6 kB / 2.474 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=64): time 5.821e-06/7.268, allocations: 0 / 2.474 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=64): time 0.004791/7.273, allocations: 0.8674 MB / 2.475 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.949e-05/7.273, allocations: 163.6 kB / 2.475 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004377/7.278, allocations: 1.25 MB / 2.476 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003229/7.278, allocations: 30.61 kB / 2.476 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008771/7.279, allocations: 0.5693 MB / 2.476 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/7.28, allocations: 228 kB / 2.477 GB, free: 111 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/7.28, allocations: 0 / 2.477 GB, free: 111 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001224/7.28, allocations: 343.2 kB / 2.477 GB, free: 110.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008632/7.281, allocations: 275.6 kB / 2.477 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/7.282, allocations: 0.7012 MB / 2.478 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003134/7.285, allocations: 0.5467 MB / 2.478 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.908e-05/7.285, allocations: 6.875 kB / 2.479 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005641/7.291, allocations: 1.193 MB / 2.48 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001113/7.292, allocations: 4.501 MB / 2.484 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-05/7.292, allocations: 14.38 kB / 2.484 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.234e-05/7.292, allocations: 19.62 kB / 2.484 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/7.294, allocations: 256.8 kB / 2.484 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.004e-05/7.294, allocations: 23.38 kB / 2.484 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002956/7.297, allocations: 163.2 kB / 2.485 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003267/7.298, allocations: 61.11 kB / 2.485 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/7.298, allocations: 7.281 kB / 2.485 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00461/7.302, allocations: 0.9714 MB / 2.486 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-05/7.303, allocations: 16.33 kB / 2.486 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.766e-05/7.303, allocations: 19.05 kB / 2.486 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/7.305, allocations: 251.6 kB / 2.486 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.584e-05/7.305, allocations: 30.11 kB / 2.486 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002509/7.307, allocations: 130.6 kB / 2.486 GB, free: 104.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/7.308, allocations: 55.89 kB / 2.486 GB, free: 104.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0004363/7.308, allocations: 143.8 kB / 2.486 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005359/7.309, allocations: 164.3 kB / 2.486 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005411/7.314, allocations: 1.139 MB / 2.487 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/7.314, allocations: 13.08 kB / 2.487 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/7.314, allocations: 0 / 2.487 GB, free: 103.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003399/7.318, allocations: 0.9047 MB / 2.488 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008311/7.326, allocations: 2.125 MB / 2.49 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.629e-06/7.326, allocations: 1.031 kB / 2.49 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001524/7.328, allocations: 148.8 kB / 2.491 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002616/7.328, allocations: 27.31 kB / 2.491 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/7.328, allocations: 21.64 kB / 2.491 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/7.329, allocations: 1.256 MB / 2.492 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/7.329, allocations: 3.469 kB / 2.492 GB, free: 100.7 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005337/7.335, allocations: 1.431 MB / 2.493 GB, free: 99.85 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00668/7.341, allocations: 2.272 MB / 2.495 GB, free: 98.42 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/7.343, allocations: 341.8 kB / 2.496 GB, free: 98.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006346/7.344, allocations: 6.562 kB / 2.496 GB, free: 98.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/7.346, allocations: 79.83 kB / 2.496 GB, free: 98.11 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002724/7.346, allocations: 48.45 kB / 2.496 GB, free: 98.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/7.347, allocations: 32.22 kB / 2.496 GB, free: 98.07 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.002705/7.349, allocations: 0.9347 MB / 2.497 GB, free: 97.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01035/7.36, allocations: 1.302 MB / 2.498 GB, free: 97.02 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0037/7.363, allocations: 1.209 MB / 2.499 GB, free: 96.61 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004462/7.368, allocations: 1.37 MB / 2.501 GB, free: 95.97 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/7.368, allocations: 2.656 kB / 2.501 GB, free: 95.97 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001271/7.369, allocations: 455.4 kB / 2.501 GB, free: 95.72 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006206/7.375, allocations: 0.6039 MB / 2.502 GB, free: 95.46 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/7.386, allocations: 2.366 MB / 2.504 GB, free: 94.36 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002488/7.388, allocations: 1.591 MB / 2.506 GB, free: 93.04 MB / 0.8855 GB Notification: Performance of SimCode: time 1.272e-06/7.388, allocations: 0 / 2.506 GB, free: 93.04 MB / 0.8855 GB