Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.MassFlowSource_WeatherData,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.383/2.383, allocations: 248.6 MB / 255.9 MB, free: 7.137 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.002651/0.00265, allocations: 185.2 kB / 315.1 MB, free: 4.301 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.114/2.114, allocations: 205.1 MB / 0.5658 GB, free: 392 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.001293/0.001292, allocations: 86.34 kB / 0.67 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4278/0.4291, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.6312, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.349/5.98, allocations: 2.219 GB / 3.103 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/5.98, allocations: 88.31 kB / 3.103 GB, free: 149.5 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 1.72/7.701, allocations: 397 MB / 3.49 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/7.701, allocations: 8 kB / 3.49 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004718/7.705, allocations: 425.5 kB / 3.491 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004576/7.71, allocations: 1.172 MB / 3.492 GB, free: 99.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.538e-05/7.71, allocations: 48 kB / 3.492 GB, free: 99.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003504/7.711, allocations: 75.91 kB / 3.492 GB, free: 98.95 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004162/7.715, allocations: 1.387 MB / 3.493 GB, free: 97.55 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003979/7.719, allocations: 1.223 MB / 3.495 GB, free: 96.26 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.273e-05/7.719, allocations: 0 / 3.495 GB, free: 96.26 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/7.719, allocations: 8 kB / 3.495 GB, free: 96.25 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/7.719, allocations: 32 kB / 3.495 GB, free: 96.22 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/7.73, allocations: 4.761 MB / 3.499 GB, free: 91.22 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/7.733, allocations: 0.9889 MB / 3.5 GB, free: 90.23 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009441/7.734, allocations: 428.7 kB / 3.501 GB, free: 89.81 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/7.735, allocations: 0.5021 MB / 3.501 GB, free: 89.21 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/7.736, allocations: 0.5972 MB / 3.502 GB, free: 88.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=98): time 4.489e-06/7.736, allocations: 0 / 3.502 GB, free: 88.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=98): time 0.005177/7.741, allocations: 1.142 MB / 3.503 GB, free: 87.45 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/7.742, allocations: 248.1 kB / 3.503 GB, free: 87.15 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/7.743, allocations: 0.6252 MB / 3.504 GB, free: 86.52 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002528/7.743, allocations: 29.7 kB / 3.504 GB, free: 86.48 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/7.744, allocations: 459.4 kB / 3.504 GB, free: 86.02 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003463/7.744, allocations: 323.2 kB / 3.504 GB, free: 85.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.43e-05/7.744, allocations: 0 / 3.504 GB, free: 85.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.28e-05/7.744, allocations: 341.9 kB / 3.505 GB, free: 85.36 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008567/7.745, allocations: 325.9 kB / 3.505 GB, free: 85.05 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/7.746, allocations: 0.516 MB / 3.506 GB, free: 84.46 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/7.748, allocations: 0.5061 MB / 3.506 GB, free: 83.95 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/7.748, allocations: 0 / 3.506 GB, free: 83.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004513/7.753, allocations: 1.136 MB / 3.507 GB, free: 82.81 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/7.753, allocations: 8.062 kB / 3.507 GB, free: 82.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/7.753, allocations: 4 kB / 3.507 GB, free: 82.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/7.754, allocations: 88.72 kB / 3.507 GB, free: 82.71 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/7.756, allocations: 231.7 kB / 3.508 GB, free: 82.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/7.759, allocations: 1.468 MB / 3.509 GB, free: 80.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/7.761, allocations: 107.3 kB / 3.509 GB, free: 80.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/7.761, allocations: 44.16 kB / 3.509 GB, free: 80.74 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (110): * Single equations (assignments): 109 * 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.000357/7.761, allocations: 132.9 kB / 3.509 GB, free: 80.61 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/7.762, allocations: 106.8 kB / 3.509 GB, free: 80.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005994/7.768, allocations: 1.389 MB / 3.511 GB, free: 79.09 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/7.768, allocations: 12 kB / 3.511 GB, free: 79.08 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/7.768, allocations: 0 / 3.511 GB, free: 79.08 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-05/7.768, allocations: 11.95 kB / 3.511 GB, free: 79.07 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003443/7.771, allocations: 1.08 MB / 3.512 GB, free: 77.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-05/7.771, allocations: 3.938 kB / 3.512 GB, free: 77.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003691/7.775, allocations: 223.7 kB / 3.512 GB, free: 77.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/7.777, allocations: 88.77 kB / 3.512 GB, free: 77.64 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003946/7.777, allocations: 19.98 kB / 3.512 GB, free: 77.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004101/7.781, allocations: 1.484 MB / 3.514 GB, free: 76.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/7.781, allocations: 0 / 3.514 GB, free: 76.02 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005156/7.787, allocations: 1.187 MB / 3.515 GB, free: 74.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005031/7.792, allocations: 1.672 MB / 3.516 GB, free: 73.11 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/7.793, allocations: 367.3 kB / 3.517 GB, free: 72.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002848/7.793, allocations: 8 kB / 3.517 GB, free: 72.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/7.795, allocations: 91.81 kB / 3.517 GB, free: 72.63 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/7.795, allocations: 64.89 kB / 3.517 GB, free: 72.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/7.795, allocations: 43.97 kB / 3.517 GB, free: 72.53 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009521/7.796, allocations: 0.4952 MB / 3.517 GB, free: 72.04 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003667/7.8, allocations: 0.7406 MB / 3.518 GB, free: 71.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.003663/7.804, allocations: 1.934 MB / 3.52 GB, free: 69.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002828/7.807, allocations: 0.9834 MB / 3.521 GB, free: 68.41 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/7.807, allocations: 4.188 kB / 3.521 GB, free: 68.41 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/7.808, allocations: 0.6066 MB / 3.522 GB, free: 67.79 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003187/7.811, allocations: 347 kB / 3.522 GB, free: 67.45 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008265/7.82, allocations: 1.887 MB / 3.524 GB, free: 65.52 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/7.821, allocations: 1.351 MB / 3.525 GB, free: 64.14 MB / 0.8698 GB Notification: Performance of SimCode: time 1.533e-06/7.821, allocations: 0 / 3.525 GB, free: 64.14 MB / 0.8698 GB