Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",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/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 188.9 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4537/0.4537, allocations: 90.85 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 221.4 MB / 342.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009837/0.0009836, allocations: 102.9 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1794/0.1804, allocations: 78.43 MB / 493.9 MB, free: 7.98 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.584, allocations: 72.31 MB / 0.553 GB, free: 73.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.59/4.174, allocations: 1.864 GB / 2.417 GB, free: 197.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/4.174, allocations: 80.89 kB / 2.417 GB, free: 197.3 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 2.109/6.283, allocations: 0.6823 GB / 3.099 GB, free: 95.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/6.283, allocations: 10.09 kB / 3.099 GB, free: 95.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/6.285, allocations: 249.7 kB / 3.1 GB, free: 95.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/6.286, allocations: 0.6347 MB / 3.1 GB, free: 95.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/6.286, allocations: 14.91 kB / 3.1 GB, free: 95.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/6.286, allocations: 38.3 kB / 3.1 GB, free: 95.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001189/6.287, allocations: 0.8969 MB / 3.101 GB, free: 95.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/6.288, allocations: 0.9337 MB / 3.102 GB, free: 95.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/6.288, allocations: 13.78 kB / 3.102 GB, free: 95.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.679e-05/6.288, allocations: 0 / 3.102 GB, free: 95.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/6.288, allocations: 15.09 kB / 3.102 GB, free: 95.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004934/6.293, allocations: 4.526 MB / 3.107 GB, free: 92.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000743/6.294, allocations: 0.598 MB / 3.107 GB, free: 92.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000582/6.295, allocations: 0.5089 MB / 3.108 GB, free: 92.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008569/6.296, allocations: 1.047 MB / 3.109 GB, free: 91.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/6.296, allocations: 38.38 kB / 3.109 GB, free: 91.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=52): time 3.226e-06/6.296, allocations: 3.844 kB / 3.109 GB, free: 91.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.01178/6.307, allocations: 2.521 MB / 3.111 GB, free: 91.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/6.308, allocations: 57.69 kB / 3.111 GB, free: 91.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006179/6.308, allocations: 451.7 kB / 3.112 GB, free: 91.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/6.308, allocations: 25.7 kB / 3.112 GB, free: 91.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/6.308, allocations: 234.7 kB / 3.112 GB, free: 91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/6.309, allocations: 173.7 kB / 3.112 GB, free: 90.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/6.309, allocations: 0 / 3.112 GB, free: 90.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.574e-05/6.309, allocations: 378.1 kB / 3.112 GB, free: 90.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/6.309, allocations: 368.5 kB / 3.113 GB, free: 90.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/6.31, allocations: 464.8 kB / 3.113 GB, free: 90.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007356/6.31, allocations: 446.2 kB / 3.114 GB, free: 90.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/6.31, allocations: 2.594 kB / 3.114 GB, free: 90.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01136/6.322, allocations: 2.506 MB / 3.116 GB, free: 90.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/6.322, allocations: 3.688 kB / 3.116 GB, free: 90.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/6.322, allocations: 3.781 kB / 3.116 GB, free: 90.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009446/6.331, allocations: 1.652 MB / 3.118 GB, free: 90.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/6.332, allocations: 98.17 kB / 3.118 GB, free: 90.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/6.343, allocations: 6.195 MB / 3.124 GB, free: 87.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/6.344, allocations: 48.84 kB / 3.124 GB, free: 87.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/6.344, allocations: 46.81 kB / 3.124 GB, free: 87.89 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(5,92.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002059/6.344, allocations: 108.6 kB / 3.124 GB, free: 87.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/6.344, allocations: 70.5 kB / 3.124 GB, free: 87.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005294/6.35, allocations: 1.7 MB / 3.126 GB, free: 87.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/6.35, allocations: 6.125 kB / 3.126 GB, free: 87.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/6.35, allocations: 5.734 kB / 3.126 GB, free: 87.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/6.35, allocations: 3.844 kB / 3.126 GB, free: 87.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005752/6.356, allocations: 2.418 MB / 3.128 GB, free: 87.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/6.356, allocations: 0 / 3.128 GB, free: 87.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/6.356, allocations: 99.36 kB / 3.128 GB, free: 87.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003388/6.359, allocations: 0.7269 MB / 3.129 GB, free: 87.25 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.396e-05/6.359, allocations: 2.5 kB / 3.129 GB, free: 87.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005859/6.365, allocations: 4.264 MB / 3.133 GB, free: 84.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/6.365, allocations: 5.781 kB / 3.133 GB, free: 84.82 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005198/6.371, allocations: 2.167 MB / 3.135 GB, free: 84.41 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005805/6.376, allocations: 3.16 MB / 3.138 GB, free: 83.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/6.377, allocations: 227.7 kB / 3.139 GB, free: 83.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/6.377, allocations: 2.906 kB / 3.139 GB, free: 83.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006156/6.378, allocations: 29.75 kB / 3.139 GB, free: 83.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/6.378, allocations: 42.11 kB / 3.139 GB, free: 83.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.055e-05/6.378, allocations: 30.06 kB / 3.139 GB, free: 83.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.000378/6.378, allocations: 350.9 kB / 3.139 GB, free: 83.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002193/6.38, allocations: 0.6043 MB / 3.14 GB, free: 83.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 49 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002256/6.383, allocations: 1.919 MB / 3.141 GB, free: 82.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002768/6.385, allocations: 1.247 MB / 3.143 GB, free: 82.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/6.385, allocations: 2.656 kB / 3.143 GB, free: 82.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001417/6.387, allocations: 0.8108 MB / 3.144 GB, free: 82.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/6.388, allocations: 309.8 kB / 3.144 GB, free: 82.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/6.391, allocations: 1.354 MB / 3.145 GB, free: 82.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005288/6.391, allocations: 1.045 MB / 3.146 GB, free: 81.38 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/6.391, allocations: 0 / 3.146 GB, free: 81.38 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)