Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",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.186/2.186, allocations: 248.6 MB / 255.9 MB, free: 7.133 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.001645/0.001645, allocations: 179.9 kB / 315.1 MB, free: 4.285 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.91/1.91, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001332/0.001332, allocations: 97.06 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4882/0.4896, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.7034, allocations: 106.3 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.532/2.236, allocations: 382.7 MB / 1.257 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/2.236, allocations: 85.44 kB / 1.257 GB, free: 250.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 6.799/9.035, allocations: 1.464 GB / 2.722 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/9.035, allocations: 9.594 kB / 2.722 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006352/9.042, allocations: 0.6617 MB / 2.722 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006849/9.049, allocations: 1.509 MB / 2.724 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.614e-05/9.049, allocations: 31.5 kB / 2.724 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003743/9.049, allocations: 79.16 kB / 2.724 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002864/9.052, allocations: 0.8287 MB / 2.725 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002848/9.055, allocations: 1.06 MB / 2.726 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/9.055, allocations: 5.375 kB / 2.726 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/9.055, allocations: 3.438 kB / 2.726 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/9.055, allocations: 25.06 kB / 2.726 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01463/9.07, allocations: 6.706 MB / 2.732 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/9.072, allocations: 0.8457 MB / 2.733 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/9.074, allocations: 0.4955 MB / 2.734 GB, free: 138.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002149/9.076, allocations: 2.265 MB / 2.736 GB, free: 136 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001728/9.078, allocations: 0.6348 MB / 2.737 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=97): time 5.661e-06/9.078, allocations: 0 / 2.737 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97): time 0.005825/9.084, allocations: 1.317 MB / 2.738 GB, free: 135.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/9.084, allocations: 144.3 kB / 2.738 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/9.086, allocations: 0.9141 MB / 2.739 GB, free: 135.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003658/9.086, allocations: 25.7 kB / 2.739 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004255/9.087, allocations: 465.7 kB / 2.739 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004877/9.087, allocations: 307.7 kB / 2.74 GB, free: 135 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/9.087, allocations: 3.125 kB / 2.74 GB, free: 135 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001125/9.087, allocations: 349.4 kB / 2.74 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/9.089, allocations: 412.6 kB / 2.74 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/9.09, allocations: 0.697 MB / 2.741 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/9.094, allocations: 0.7025 MB / 2.742 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/9.094, allocations: 3.875 kB / 2.742 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.005608/9.099, allocations: 1.46 MB / 2.743 GB, free: 134.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005021/9.1, allocations: 2.145 MB / 2.745 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/9.1, allocations: 9.375 kB / 2.745 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.575e-05/9.1, allocations: 7.781 kB / 2.745 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/9.103, allocations: 311.8 kB / 2.746 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/9.103, allocations: 7.5 kB / 2.746 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/9.106, allocations: 229.5 kB / 2.746 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/9.106, allocations: 69.23 kB / 2.746 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/9.106, allocations: 6.75 kB / 2.746 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004945/9.111, allocations: 1.265 MB / 2.747 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/9.111, allocations: 7.25 kB / 2.747 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/9.111, allocations: 8.312 kB / 2.747 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00288/9.114, allocations: 302.1 kB / 2.747 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.95e-05/9.114, allocations: 18.03 kB / 2.747 GB, free: 131.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003682/9.118, allocations: 225.1 kB / 2.748 GB, free: 131.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004254/9.118, allocations: 61.91 kB / 2.748 GB, free: 131.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * 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.00052/9.119, allocations: 239.1 kB / 2.748 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005469/9.119, allocations: 158.5 kB / 2.748 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008633/9.128, allocations: 2.046 MB / 2.75 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.35e-05/9.128, allocations: 18.66 kB / 2.75 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/9.128, allocations: 0 / 2.75 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.33e-05/9.128, allocations: 3.844 kB / 2.75 GB, free: 131.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/9.139, allocations: 3.13 MB / 2.753 GB, free: 131 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/9.14, allocations: 3.781 kB / 2.753 GB, free: 131 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002552/9.142, allocations: 238.8 kB / 2.753 GB, free: 131 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.062e-05/9.142, allocations: 3.938 kB / 2.753 GB, free: 131 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003095/9.143, allocations: 36.62 kB / 2.753 GB, free: 131 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/9.143, allocations: 3.906 kB / 2.753 GB, free: 131 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/9.143, allocations: 9.406 kB / 2.753 GB, free: 131 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008141/9.151, allocations: 2.596 MB / 2.756 GB, free: 130.6 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01125/9.162, allocations: 3.845 MB / 2.76 GB, free: 129.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/9.164, allocations: 397.7 kB / 2.76 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007683/9.165, allocations: 15.62 kB / 2.76 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003184/9.168, allocations: 174.3 kB / 2.76 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003483/9.168, allocations: 63.33 kB / 2.76 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002837/9.169, allocations: 55.59 kB / 2.76 GB, free: 129.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001849/9.17, allocations: 0.6853 MB / 2.761 GB, free: 129.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007944/9.178, allocations: 1.149 MB / 2.762 GB, free: 129.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.002977/9.181, allocations: 0.9808 MB / 2.763 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005068/9.187, allocations: 1.941 MB / 2.765 GB, free: 129 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/9.187, allocations: 0 / 2.765 GB, free: 129 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001939/9.189, allocations: 0.8079 MB / 2.766 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005098/9.194, allocations: 0.5159 MB / 2.766 GB, free: 128.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009243/9.203, allocations: 2.709 MB / 2.769 GB, free: 128.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002406/9.205, allocations: 1.513 MB / 2.77 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.523e-06/9.206, allocations: 1.062 kB / 2.77 GB, free: 127.5 MB / 0.8855 GB