Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem.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.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Validation_IdealSmallSystem",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.125/2.125, allocations: 248.6 MB / 255.9 MB, free: 7.145 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.00168/0.001679, allocations: 188 kB / 315.1 MB, free: 4.277 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.937/1.937, allocations: 205.1 MB / 0.5658 GB, free: 400 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.001443/0.001442, allocations: 87.28 kB / 0.67 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4852/0.4867, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.7111, allocations: 106.3 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.627/2.338, allocations: 479 MB / 1.351 GB, free: 240.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/2.338, allocations: 87.64 kB / 1.351 GB, free: 240.3 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: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 28.07/30.41, allocations: 5.256 GB / 6.607 GB, free: 52.28 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/30.41, allocations: 10.91 kB / 6.607 GB, free: 52.28 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02375/30.43, allocations: 2.625 MB / 6.61 GB, free: 51.57 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09043/30.52, allocations: 19.23 MB / 6.628 GB, free: 49.54 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006986/30.52, allocations: 237.5 kB / 6.629 GB, free: 49.54 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003496/30.53, allocations: 453 kB / 6.629 GB, free: 49.53 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02467/30.55, allocations: 5.626 MB / 6.635 GB, free: 49.5 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03357/30.59, allocations: 7.258 MB / 6.642 GB, free: 48.32 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004501/30.59, allocations: 24.39 kB / 6.642 GB, free: 48.32 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003095/30.59, allocations: 20.28 kB / 6.642 GB, free: 48.32 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003046/30.59, allocations: 200.6 kB / 6.642 GB, free: 48.32 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.107/30.7, allocations: 47.28 MB / 6.688 GB, free: 20.95 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00635/30.7, allocations: 2.067 MB / 6.69 GB, free: 20.93 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006206/30.71, allocations: 2.018 MB / 6.692 GB, free: 20.89 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03564/30.75, allocations: 9.415 MB / 6.701 GB, free: 17.05 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006639/30.75, allocations: 1.827 MB / 6.703 GB, free: 16.95 MB / 1.135 GB Notification: Performance of pre-optimization done (n=339): time 1.937e-05/30.75, allocations: 2.906 kB / 6.703 GB, free: 16.95 MB / 1.135 GB Notification: Performance of matching and sorting (n=339): time 0.02763/30.78, allocations: 4.464 MB / 6.707 GB, free: 16.23 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/30.78, allocations: 84.17 kB / 6.707 GB, free: 16.16 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02991/30.81, allocations: 7.671 MB / 6.715 GB, free: 15.58 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.001446/30.81, allocations: 39.59 kB / 6.715 GB, free: 15.55 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.007153/30.82, allocations: 3.227 MB / 6.718 GB, free: 13.96 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.00441/30.82, allocations: 1.125 MB / 6.719 GB, free: 13.22 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006421/30.82, allocations: 0 / 6.719 GB, free: 13.22 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0005173/30.82, allocations: 493 kB / 6.72 GB, free: 12.91 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005532/30.83, allocations: 1.496 MB / 6.721 GB, free: 12.89 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007644/30.84, allocations: 3.582 MB / 6.725 GB, free: 10.28 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/30.85, allocations: 2.432 MB / 6.727 GB, free: 10.22 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/30.85, allocations: 16.41 kB / 6.727 GB, free: 10.22 MB / 1.135 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.03092/30.88, allocations: 6.007 MB / 6.733 GB, free: 9.52 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.01531/30.9, allocations: 31.11 MB / 6.763 GB, free: 8.422 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003283/30.9, allocations: 53.12 kB / 6.763 GB, free: 8.422 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/30.9, allocations: 0.4934 MB / 6.764 GB, free: 8.344 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01068/30.91, allocations: 1.13 MB / 6.765 GB, free: 8.344 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/30.92, allocations: 8.232 MB / 6.773 GB, free: 17.63 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01726/30.94, allocations: 0.8884 MB / 6.774 GB, free: 17.36 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001702/30.94, allocations: 270.4 kB / 6.774 GB, free: 17.36 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/30.94, allocations: 3.188 kB / 6.774 GB, free: 17.36 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02202/30.97, allocations: 4.793 MB / 6.779 GB, free: 17.19 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002049/30.97, allocations: 51.47 kB / 6.779 GB, free: 17.19 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/30.97, allocations: 499.2 kB / 6.779 GB, free: 17.11 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009375/30.98, allocations: 1.096 MB / 6.78 GB, free: 17.11 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/30.99, allocations: 8.234 MB / 6.788 GB, free: 10.39 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01506/31, allocations: 0.7845 MB / 6.789 GB, free: 10.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001785/31, allocations: 256.3 kB / 6.789 GB, free: 10.2 MB / 1.182 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: coo1.hex.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true final = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea2.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hea1.pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 238 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002882/31.01, allocations: 304.1 kB / 6.79 GB, free: 9.961 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003972/31.01, allocations: 0.9603 MB / 6.791 GB, free: 9.445 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02464/31.04, allocations: 5.257 MB / 6.796 GB, free: 9.082 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.64e-05/31.04, allocations: 37.75 kB / 6.796 GB, free: 9.082 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/31.04, allocations: 0 / 6.796 GB, free: 9.082 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01541/31.05, allocations: 3.522 MB / 6.799 GB, free: 8.848 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05257/31.1, allocations: 11.46 MB / 6.81 GB, free: 8.133 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-05/31.1, allocations: 2.297 kB / 6.81 GB, free: 8.133 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007822/31.11, allocations: 0.7305 MB / 6.811 GB, free: 8.102 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00207/31.11, allocations: 423.6 kB / 6.812 GB, free: 8.02 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001123/31.12, allocations: 68.45 kB / 6.812 GB, free: 8.02 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/31.13, allocations: 8.138 MB / 6.82 GB, free: 1.297 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/31.13, allocations: 0 / 6.82 GB, free: 1.297 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02535/31.15, allocations: 6.945 MB / 6.826 GB, free: 212 kB / 1.182 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03621/31.19, allocations: 10.06 MB / 6.836 GB, free: 14.72 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009421/31.2, allocations: 1.747 MB / 6.838 GB, free: 14.06 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005019/31.2, allocations: 23.84 kB / 6.838 GB, free: 14.06 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0159/31.22, allocations: 0.5871 MB / 6.839 GB, free: 14.02 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001111/31.22, allocations: 200.8 kB / 6.839 GB, free: 14.02 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009313/31.22, allocations: 189.9 kB / 6.839 GB, free: 14.02 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.02123/31.24, allocations: 5.762 MB / 6.845 GB, free: 13.73 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.05099/31.29, allocations: 7.646 MB / 6.852 GB, free: 12.86 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 315 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0182/31.31, allocations: 6.523 MB / 6.858 GB, free: 9.508 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.02458/31.34, allocations: 7.36 MB / 6.866 GB, free: 8.648 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/31.34, allocations: 7.062 kB / 6.866 GB, free: 8.645 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.009684/31.35, allocations: 2.114 MB / 6.868 GB, free: 8.355 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04608/31.39, allocations: 4.493 MB / 6.872 GB, free: 8.047 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08423/31.48, allocations: 15.32 MB / 6.887 GB, free: 4.137 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02777/31.5, allocations: 6.535 MB / 6.893 GB, free: 3.043 MB / 1.198 GB Notification: Performance of SimCode: time 3.627e-06/31.5, allocations: 0 / 6.893 GB, free: 3.043 MB / 1.198 GB