Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.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/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.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_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.004419/0.004419, allocations: 183.2 kB / 7.461 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.7726/0.7726, allocations: 133.5 MB / 141.4 MB, free: 15.74 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.597/1.597, allocations: 221.3 MB / 395 MB, free: 10.2 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.001168/0.001167, allocations: 99.91 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5078/0.509, allocations: 88.43 MB / 0.5529 GB, free: 88.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.7152, allocations: 82.31 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6277/1.343, allocations: 110.3 MB / 0.741 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/1.343, allocations: 76.22 kB / 0.7411 GB, free: 10.86 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.003035/1.346, allocations: 0.8729 MB / 0.742 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/1.346, allocations: 8.297 kB / 0.742 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/1.347, allocations: 7.781 kB / 0.742 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/1.347, allocations: 165.7 kB / 0.7421 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/1.347, allocations: 0 / 0.7421 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/1.347, allocations: 3.656 kB / 0.7421 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.223e-05/1.347, allocations: 2.609 kB / 0.7421 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.461e-05/1.347, allocations: 34.94 kB / 0.7422 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/1.347, allocations: 0 / 0.7422 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/1.347, allocations: 3.906 kB / 0.7422 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/1.347, allocations: 0 / 0.7422 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/1.347, allocations: 132.6 kB / 0.7423 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.247e-05/1.347, allocations: 26.3 kB / 0.7423 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.397e-05/1.347, allocations: 8.938 kB / 0.7423 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007485/1.348, allocations: 0.601 MB / 0.7429 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/1.348, allocations: 39.12 kB / 0.743 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.348, allocations: 0 / 0.743 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.000202/1.348, allocations: 38.8 kB / 0.743 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/1.348, allocations: 55.91 kB / 0.743 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.538e-05/1.348, allocations: 93.19 kB / 0.7431 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/1.348, allocations: 25.7 kB / 0.7432 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/1.349, allocations: 80.94 kB / 0.7432 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/1.349, allocations: 8.5 kB / 0.7432 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/1.349, allocations: 0.9062 kB / 0.7432 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001285/1.349, allocations: 319 kB / 0.7435 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/1.349, allocations: 3.875 kB / 0.7436 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.895e-06/1.349, allocations: 0.6094 kB / 0.7436 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.415e-05/1.349, allocations: 4.766 kB / 0.7436 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.349, allocations: 0 / 0.7436 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.859e-05/1.349, allocations: 34.89 kB / 0.7436 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.349, allocations: 8.438 kB / 0.7436 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/1.349, allocations: 6.5 kB / 0.7436 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/1.349, allocations: 4.094 kB / 0.7436 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.689e-05/1.349, allocations: 8.5 kB / 0.7436 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/1.349, allocations: 0 / 0.7436 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/1.349, allocations: 3.906 kB / 0.7436 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/1.349, allocations: 0.7031 kB / 0.7436 GB, free: 24.66 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 (2): * Single equations (assignments): 2 * 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 8.114e-05/1.349, allocations: 104.5 kB / 0.7437 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/1.349, allocations: 4.578 kB / 0.7437 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/1.349, allocations: 43.67 kB / 0.7438 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/1.349, allocations: 7.938 kB / 0.7438 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.349, allocations: 0 / 0.7438 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/1.349, allocations: 0.75 kB / 0.7438 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.797e-05/1.349, allocations: 133.8 kB / 0.7439 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.349, allocations: 192 / 0.7439 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/1.349, allocations: 4.609 kB / 0.7439 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/1.349, allocations: 0 / 0.7439 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/1.349, allocations: 4.781 kB / 0.7439 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.349, allocations: 0 / 0.7439 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.349, allocations: 3.875 kB / 0.7439 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.402e-05/1.35, allocations: 70.45 kB / 0.744 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002138/1.35, allocations: 443.1 kB / 0.7444 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/1.35, allocations: 77.91 kB / 0.7445 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/1.35, allocations: 0 / 0.7445 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/1.35, allocations: 6.312 kB / 0.7445 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/1.35, allocations: 3.312 kB / 0.7445 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/1.35, allocations: 8.641 kB / 0.7445 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.956e-05/1.35, allocations: 76.12 kB / 0.7446 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008117/1.351, allocations: 12.27 kB / 0.7446 GB, free: 23.66 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 (2): * Single equations (assignments): 2 * 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.0002164/1.351, allocations: 123.7 kB / 0.7447 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.739e-05/1.351, allocations: 4.266 kB / 0.7447 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.351, allocations: 2.75 kB / 0.7447 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.035e-06/1.351, allocations: 7.938 kB / 0.7447 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/1.351, allocations: 5.516 kB / 0.7447 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001987/1.351, allocations: 53.2 kB / 0.7448 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/1.352, allocations: 0.6952 MB / 0.7454 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/1.352, allocations: 0 / 0.7454 GB, free: 22.79 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)