Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",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.003414/0.003414, allocations: 179.8 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.7543/0.7543, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.524/1.524, allocations: 221.3 MB / 395 MB, free: 10.23 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.001034/0.001034, allocations: 105.4 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5082/0.5092, allocations: 88.43 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.7029, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6157/1.319, allocations: 112.8 MB / 0.7435 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.319, allocations: 84.78 kB / 0.7435 GB, free: 11.08 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.01692/1.336, allocations: 5.452 MB / 0.7489 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/1.336, allocations: 12.3 kB / 0.7489 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.051e-05/1.336, allocations: 19.41 kB / 0.7489 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006162/1.337, allocations: 442 kB / 0.7493 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/1.337, allocations: 0 / 0.7493 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/1.337, allocations: 3.906 kB / 0.7493 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001223/1.337, allocations: 55.94 kB / 0.7494 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/1.337, allocations: 59.56 kB / 0.7494 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/1.337, allocations: 4 kB / 0.7494 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/1.337, allocations: 0 / 0.7494 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/1.337, allocations: 0 / 0.7494 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/1.337, allocations: 286.9 kB / 0.7497 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/1.338, allocations: 94.08 kB / 0.7498 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/1.338, allocations: 38.42 kB / 0.7498 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.564e-05/1.338, allocations: 12.56 kB / 0.7499 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/1.338, allocations: 39.72 kB / 0.7499 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/1.338, allocations: 0 / 0.7499 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0003306/1.338, allocations: 102.8 kB / 0.75 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/1.338, allocations: 52.06 kB / 0.75 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006198/1.339, allocations: 463.1 kB / 0.7505 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/1.339, allocations: 25.7 kB / 0.7505 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/1.339, allocations: 98.03 kB / 0.7506 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/1.339, allocations: 11.14 kB / 0.7506 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/1.339, allocations: 4 kB / 0.7506 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.339, allocations: 335.7 kB / 0.7509 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/1.339, allocations: 28.52 kB / 0.751 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.231e-05/1.339, allocations: 47.89 kB / 0.751 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.113e-05/1.339, allocations: 34.86 kB / 0.751 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.339, allocations: 0 / 0.751 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000194/1.34, allocations: 104.2 kB / 0.7511 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.34, allocations: 9.25 kB / 0.7511 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.34, allocations: 0 / 0.7511 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/1.34, allocations: 0.6562 kB / 0.7511 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/1.34, allocations: 19.31 kB / 0.7512 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.34, allocations: 1.766 kB / 0.7512 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/1.34, allocations: 19.84 kB / 0.7512 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/1.34, allocations: 5.891 kB / 0.7512 GB, free: 25.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.993e-05/1.34, allocations: 102.2 kB / 0.7513 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/1.34, allocations: 20.05 kB / 0.7513 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00033/1.34, allocations: 153.6 kB / 0.7515 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/1.341, allocations: 0.5156 kB / 0.7515 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.341, allocations: 1.281 kB / 0.7515 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.341, allocations: 0.6562 kB / 0.7515 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/1.341, allocations: 211.2 kB / 0.7517 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/1.341, allocations: 1.344 kB / 0.7517 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.952e-05/1.341, allocations: 18.2 kB / 0.7517 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/1.341, allocations: 5.344 kB / 0.7517 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/1.341, allocations: 1.344 kB / 0.7517 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/1.341, allocations: 3.906 kB / 0.7517 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.341, allocations: 1.344 kB / 0.7517 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002024/1.341, allocations: 139.2 kB / 0.7518 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003809/1.342, allocations: 0.503 MB / 0.7523 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/1.342, allocations: 133.4 kB / 0.7524 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.319e-05/1.342, allocations: 0 / 0.7524 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/1.342, allocations: 15.33 kB / 0.7525 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/1.342, allocations: 2.438 kB / 0.7525 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/1.342, allocations: 9.719 kB / 0.7525 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0004595/1.342, allocations: 369.9 kB / 0.7528 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001071/1.344, allocations: 85.98 kB / 0.7529 GB, free: 24.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003549/1.344, allocations: 172.4 kB / 0.7531 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001408/1.344, allocations: 59.58 kB / 0.7531 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.344, allocations: 3.438 kB / 0.7531 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.15e-05/1.344, allocations: 23.33 kB / 0.7531 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/1.344, allocations: 11 kB / 0.7532 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/1.345, allocations: 212.2 kB / 0.7534 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005758/1.345, allocations: 0.7789 MB / 0.7541 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/1.345, allocations: 1.25 kB / 0.7541 GB, free: 23.11 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)