Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_OneWayFlow",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.002814/0.002814, allocations: 180.3 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7291/0.7291, allocations: 133.5 MB / 141.4 MB, free: 15.71 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 110 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4572/0.4584, allocations: 88.41 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.6407, allocations: 82.31 MB / 0.6333 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.66/12.3, allocations: 4.387 GB / 5.021 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/12.3, allocations: 95.45 kB / 5.021 GB, free: 253.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 5.024/17.33, allocations: 1.403 GB / 6.424 GB, free: 75.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/17.33, allocations: 7.531 kB / 6.424 GB, free: 75.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/17.33, allocations: 430.3 kB / 6.425 GB, free: 75.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004709/17.34, allocations: 2.027 MB / 6.427 GB, free: 74.77 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/17.34, allocations: 50.38 kB / 6.427 GB, free: 74.77 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/17.34, allocations: 77.84 kB / 6.427 GB, free: 74.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001837/17.34, allocations: 0.8857 MB / 6.428 GB, free: 74.76 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/17.34, allocations: 1.38 MB / 6.429 GB, free: 74.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.346e-05/17.34, allocations: 17.36 kB / 6.429 GB, free: 74.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.418e-05/17.34, allocations: 6.984 kB / 6.429 GB, free: 74.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.097e-05/17.34, allocations: 62.19 kB / 6.429 GB, free: 74.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009101/17.35, allocations: 8.869 MB / 6.438 GB, free: 68.56 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008056/17.35, allocations: 0.5886 MB / 6.438 GB, free: 68.54 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/17.35, allocations: 243.9 kB / 6.438 GB, free: 68.53 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006521/17.35, allocations: 0.7822 MB / 6.439 GB, free: 67.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/17.35, allocations: 34.94 kB / 6.439 GB, free: 67.64 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=50): time 3.226e-06/17.35, allocations: 5.984 kB / 6.439 GB, free: 67.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=50): time 0.001739/17.35, allocations: 0.6881 MB / 6.44 GB, free: 67.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/17.35, allocations: 59.53 kB / 6.44 GB, free: 67.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003792/17.36, allocations: 2.789 MB / 6.443 GB, free: 67.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/17.36, allocations: 25.7 kB / 6.443 GB, free: 67.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/17.36, allocations: 0.6381 MB / 6.443 GB, free: 66.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/17.36, allocations: 182.5 kB / 6.444 GB, free: 66.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/17.36, allocations: 0 / 6.444 GB, free: 66.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.024e-05/17.36, allocations: 323.6 kB / 6.444 GB, free: 66.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/17.36, allocations: 184.9 kB / 6.444 GB, free: 66.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/17.36, allocations: 292.1 kB / 6.444 GB, free: 66.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/17.36, allocations: 229.1 kB / 6.445 GB, free: 66.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.738e-06/17.36, allocations: 0 / 6.445 GB, free: 66.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001063/17.36, allocations: 0.6849 MB / 6.445 GB, free: 66.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/17.36, allocations: 3.719 kB / 6.445 GB, free: 66.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/17.36, allocations: 3.781 kB / 6.445 GB, free: 66.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/17.36, allocations: 11.38 kB / 6.445 GB, free: 66.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/17.36, allocations: 114 kB / 6.445 GB, free: 66.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/17.36, allocations: 6.812 kB / 6.445 GB, free: 66.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/17.36, allocations: 107.3 kB / 6.445 GB, free: 66.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/17.36, allocations: 33.09 kB / 6.445 GB, free: 66.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001176/17.36, allocations: 112.9 kB / 6.446 GB, free: 66.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/17.36, allocations: 187 kB / 6.446 GB, free: 65.99 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/17.36, allocations: 0.83 MB / 6.447 GB, free: 65.92 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/17.36, allocations: 10.94 kB / 6.447 GB, free: 65.92 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/17.36, allocations: 0 / 6.447 GB, free: 65.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/17.36, allocations: 6.406 kB / 6.447 GB, free: 65.92 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003992/17.37, allocations: 2.403 MB / 6.449 GB, free: 65.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/17.37, allocations: 3.625 kB / 6.449 GB, free: 65.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/17.37, allocations: 109.1 kB / 6.449 GB, free: 65.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/17.37, allocations: 3.719 kB / 6.449 GB, free: 65.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/17.37, allocations: 15.53 kB / 6.449 GB, free: 65.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/17.37, allocations: 8.281 kB / 6.449 GB, free: 65.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/17.37, allocations: 7.719 kB / 6.449 GB, free: 65.56 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001782/17.37, allocations: 1.242 MB / 6.45 GB, free: 65.11 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002586/17.37, allocations: 2.139 MB / 6.452 GB, free: 64.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/17.37, allocations: 0.5077 MB / 6.453 GB, free: 64.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/17.37, allocations: 10.31 kB / 6.453 GB, free: 64.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009947/17.37, allocations: 88.39 kB / 6.453 GB, free: 64.08 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/17.37, allocations: 34.36 kB / 6.453 GB, free: 64.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/17.37, allocations: 34 kB / 6.453 GB, free: 64.08 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.003142/17.38, allocations: 2.162 MB / 6.455 GB, free: 63.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00508/17.38, allocations: 1.191 MB / 6.456 GB, free: 63.84 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007048/17.39, allocations: 3.831 MB / 6.46 GB, free: 62.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001016/17.39, allocations: 441 kB / 6.46 GB, free: 62.45 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/17.39, allocations: 3.344 kB / 6.46 GB, free: 62.45 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003514/17.39, allocations: 248.4 kB / 6.461 GB, free: 62.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/17.39, allocations: 401.8 kB / 6.461 GB, free: 62.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006465/17.4, allocations: 3.437 MB / 6.464 GB, free: 61.63 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001844/17.4, allocations: 1.897 MB / 6.466 GB, free: 60.9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/17.4, allocations: 0 / 6.466 GB, free: 60.9 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Validation_OneWayFlow.fmu > IDEAS_IDEAS.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1)