Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Validation.OneWayFlow,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="IBPSA_latest_IBPSA_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.001722/0.001722, allocations: 180.2 kB / 7.802 MB, free: 2.18 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4527/0.4527, allocations: 90.85 MB / 99.07 MB, free: 14.91 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.229/1.229, allocations: 221.4 MB / 342.8 MB, free: 5.293 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.0009647/0.0009649, allocations: 94.89 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1557/0.1567, allocations: 78.45 MB / 494 MB, free: 7.98 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.4914, allocations: 72.3 MB / 0.553 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.463/7.955, allocations: 4.378 GB / 4.931 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/7.955, allocations: 92.59 kB / 4.931 GB, free: 59.84 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 4.788/12.74, allocations: 1.403 GB / 6.334 GB, free: 60.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/12.74, allocations: 10.38 kB / 6.334 GB, free: 60.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00241/12.75, allocations: 423 kB / 6.335 GB, free: 60.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004326/12.75, allocations: 2.026 MB / 6.337 GB, free: 59.33 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/12.75, allocations: 41.72 kB / 6.337 GB, free: 59.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002625/12.75, allocations: 82.98 kB / 6.337 GB, free: 59.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001792/12.75, allocations: 0.8889 MB / 6.338 GB, free: 59.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/12.75, allocations: 1.389 MB / 6.339 GB, free: 58.19 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.526e-05/12.75, allocations: 7.781 kB / 6.339 GB, free: 58.19 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/12.75, allocations: 7.719 kB / 6.339 GB, free: 58.19 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.724e-05/12.75, allocations: 58.2 kB / 6.339 GB, free: 58.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008873/12.76, allocations: 8.872 MB / 6.348 GB, free: 48.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007572/12.76, allocations: 0.5902 MB / 6.348 GB, free: 48.38 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/12.76, allocations: 242.1 kB / 6.349 GB, free: 48.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005651/12.77, allocations: 0.7807 MB / 6.349 GB, free: 47.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/12.77, allocations: 35 kB / 6.349 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=50): time 2.134e-06/12.77, allocations: 0 / 6.349 GB, free: 47.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=50): time 0.001634/12.77, allocations: 0.6922 MB / 6.35 GB, free: 46.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/12.77, allocations: 63.34 kB / 6.35 GB, free: 46.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004031/12.77, allocations: 2.789 MB / 6.353 GB, free: 43.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/12.77, allocations: 25.7 kB / 6.353 GB, free: 43.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/12.77, allocations: 0.641 MB / 6.353 GB, free: 42.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/12.77, allocations: 165.4 kB / 6.354 GB, free: 42.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/12.77, allocations: 0 / 6.354 GB, free: 42.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.899e-05/12.77, allocations: 330 kB / 6.354 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/12.77, allocations: 190.5 kB / 6.354 GB, free: 42.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/12.77, allocations: 288.8 kB / 6.354 GB, free: 41.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/12.77, allocations: 226.7 kB / 6.355 GB, free: 41.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/12.77, allocations: 4 kB / 6.355 GB, free: 41.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001137/12.77, allocations: 0.6885 MB / 6.355 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/12.77, allocations: 9.078 kB / 6.355 GB, free: 40.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/12.77, allocations: 4 kB / 6.355 GB, free: 40.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/12.77, allocations: 4 kB / 6.355 GB, free: 40.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/12.77, allocations: 114.2 kB / 6.355 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/12.77, allocations: 8 kB / 6.355 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/12.78, allocations: 100.4 kB / 6.356 GB, free: 40.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.3e-05/12.78, allocations: 35.98 kB / 6.356 GB, free: 40.71 MB / 0.6355 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.0001034/12.78, allocations: 123.3 kB / 6.356 GB, free: 40.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/12.78, allocations: 190.6 kB / 6.356 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/12.78, allocations: 0.8248 MB / 6.357 GB, free: 39.58 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/12.78, allocations: 4 kB / 6.357 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/12.78, allocations: 3.984 kB / 6.357 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/12.78, allocations: 3.906 kB / 6.357 GB, free: 39.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004014/12.78, allocations: 2.4 MB / 6.359 GB, free: 37.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/12.78, allocations: 7.938 kB / 6.359 GB, free: 37.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/12.78, allocations: 108.5 kB / 6.359 GB, free: 37.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/12.78, allocations: 4.5 kB / 6.359 GB, free: 37 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/12.78, allocations: 12 kB / 6.359 GB, free: 36.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/12.78, allocations: 7.281 kB / 6.359 GB, free: 36.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/12.78, allocations: 0 / 6.359 GB, free: 36.99 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001521/12.78, allocations: 1.245 MB / 6.36 GB, free: 35.66 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002403/12.79, allocations: 2.148 MB / 6.362 GB, free: 33.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009884/12.79, allocations: 0.5101 MB / 6.363 GB, free: 32.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003679/12.79, allocations: 3.984 kB / 6.363 GB, free: 32.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009676/12.79, allocations: 91.16 kB / 6.363 GB, free: 32.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.649e-05/12.79, allocations: 40.08 kB / 6.363 GB, free: 32.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/12.79, allocations: 29.38 kB / 6.363 GB, free: 32.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.002487/12.79, allocations: 2.166 MB / 6.365 GB, free: 30.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003547/12.79, allocations: 1.198 MB / 6.366 GB, free: 29.38 MB / 0.6355 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.004787/12.8, allocations: 3.836 MB / 6.37 GB, free: 25.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000662/12.8, allocations: 433.4 kB / 6.371 GB, free: 25.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/12.8, allocations: 0 / 6.371 GB, free: 25.51 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/12.8, allocations: 249.5 kB / 6.371 GB, free: 25.26 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/12.8, allocations: 387.7 kB / 6.371 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005452/12.81, allocations: 3.44 MB / 6.375 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001561/12.81, allocations: 1.899 MB / 6.376 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of SimCode: time 5.31e-07/12.81, allocations: 0 / 6.376 GB, free: 19.48 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Validation_OneWayFlow.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1)