Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",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.412/2.412, allocations: 248.6 MB / 255.9 MB, free: 7.07 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.002565/0.002565, allocations: 184 kB / 315.1 MB, free: 4.242 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.197/2.197, allocations: 205.1 MB / 0.5658 GB, free: 328 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.001442/0.001442, allocations: 90.81 kB / 0.67 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5233/0.5248, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.7392, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.937/6.677, allocations: 2.19 GB / 3.073 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/6.677, allocations: 86.58 kB / 3.073 GB, free: 177.9 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: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.2504/6.928, allocations: 58.44 MB / 3.13 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/6.928, allocations: 12 kB / 3.13 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002313/6.93, allocations: 258.5 kB / 3.131 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/6.932, allocations: 0.6114 MB / 3.131 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.278e-05/6.932, allocations: 28 kB / 3.131 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/6.932, allocations: 51.94 kB / 3.131 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002508/6.935, allocations: 0.9913 MB / 3.132 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/6.937, allocations: 0.7531 MB / 3.133 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/6.937, allocations: 4 kB / 3.133 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/6.937, allocations: 0 / 3.133 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/6.937, allocations: 20 kB / 3.133 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00617/6.943, allocations: 2.552 MB / 3.136 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/6.945, allocations: 0.7623 MB / 3.136 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006001/6.945, allocations: 246.8 kB / 3.137 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/6.946, allocations: 28.69 kB / 3.137 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007999/6.946, allocations: 378 kB / 3.137 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 3.567e-06/6.946, allocations: 0 / 3.137 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.0039/6.95, allocations: 0.6404 MB / 3.138 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/6.95, allocations: 240 kB / 3.138 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/6.951, allocations: 0.4984 MB / 3.138 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/6.952, allocations: 29.7 kB / 3.138 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/6.952, allocations: 312 kB / 3.139 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/6.952, allocations: 224.6 kB / 3.139 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/6.952, allocations: 4 kB / 3.139 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001271/6.952, allocations: 378.7 kB / 3.139 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/6.953, allocations: 185.3 kB / 3.139 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/6.954, allocations: 316.9 kB / 3.14 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006889/6.954, allocations: 239.1 kB / 3.14 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/6.954, allocations: 4 kB / 3.14 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002613/6.957, allocations: 0.6678 MB / 3.141 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/6.957, allocations: 8.031 kB / 3.141 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/6.957, allocations: 4 kB / 3.141 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/6.958, allocations: 80.78 kB / 3.141 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/6.959, allocations: 143.8 kB / 3.141 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/6.962, allocations: 1.457 MB / 3.142 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/6.964, allocations: 75.5 kB / 3.142 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/6.964, allocations: 31.98 kB / 3.142 GB, free: 114.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (79): * Single equations (assignments): 78 * 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.0002626/6.964, allocations: 116.9 kB / 3.142 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/6.964, allocations: 71.16 kB / 3.142 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/6.968, allocations: 0.9175 MB / 3.143 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/6.968, allocations: 12 kB / 3.143 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/6.968, allocations: 0 / 3.143 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/6.968, allocations: 11.89 kB / 3.143 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00726/6.975, allocations: 1.744 MB / 3.145 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/6.975, allocations: 0 / 3.145 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/6.977, allocations: 151.8 kB / 3.145 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000983/6.978, allocations: 80.78 kB / 3.145 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/6.979, allocations: 19.89 kB / 3.145 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/6.981, allocations: 1.477 MB / 3.147 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/6.981, allocations: 0 / 3.147 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002626/6.984, allocations: 0.8205 MB / 3.148 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002693/6.987, allocations: 1.231 MB / 3.149 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006327/6.987, allocations: 279.8 kB / 3.149 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/6.987, allocations: 7.938 kB / 3.149 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/6.989, allocations: 55.95 kB / 3.149 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/6.989, allocations: 56.69 kB / 3.149 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.516e-05/6.989, allocations: 31.98 kB / 3.149 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000756/6.99, allocations: 402.9 kB / 3.15 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00245/6.992, allocations: 383 kB / 3.15 GB, free: 106.4 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.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * 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.002115/6.994, allocations: 1.001 MB / 3.151 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002834/6.997, allocations: 0.6587 MB / 3.152 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/6.997, allocations: 0 / 3.152 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001995/6.999, allocations: 444.6 kB / 3.152 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003726/7.003, allocations: 220.7 kB / 3.152 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008431/7.011, allocations: 1.335 MB / 3.153 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/7.013, allocations: 1.127 MB / 3.155 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.343e-06/7.013, allocations: 0 / 3.155 GB, free: 101.6 MB / 0.8698 GB