Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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/BuildSysPro 3.5.0/package.mo): time 0.738/0.738, allocations: 127.4 MB / 134.6 MB, free: 4.082 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 193.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.893/1.893, allocations: 205.1 MB / 399.1 MB, free: 6.074 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 83.33 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3418/0.3429, allocations: 82.89 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.547, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5795/1.127, allocations: 101.9 MB / 0.7205 GB, free: 10.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/1.127, allocations: 75.95 kB / 0.7206 GB, free: 10.32 MB / 490.7 MB 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.00647/1.133, allocations: 1.87 MB / 0.7224 GB, free: 8.422 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/1.134, allocations: 8 kB / 0.7224 GB, free: 8.414 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/1.134, allocations: 3.906 kB / 0.7224 GB, free: 8.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/1.134, allocations: 167.1 kB / 0.7226 GB, free: 8.207 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/1.134, allocations: 0 / 0.7226 GB, free: 8.207 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/1.134, allocations: 3.938 kB / 0.7226 GB, free: 8.203 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001044/1.134, allocations: 12 kB / 0.7226 GB, free: 8.191 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/1.134, allocations: 41.58 kB / 0.7226 GB, free: 8.145 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.134, allocations: 0 / 0.7226 GB, free: 8.145 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/1.134, allocations: 0 / 0.7226 GB, free: 8.145 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/1.134, allocations: 8 kB / 0.7227 GB, free: 8.137 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/1.134, allocations: 134.3 kB / 0.7228 GB, free: 7.969 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/1.135, allocations: 30.64 kB / 0.7228 GB, free: 7.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/1.135, allocations: 4.859 kB / 0.7228 GB, free: 7.922 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/1.136, allocations: 1.179 MB / 0.724 GB, free: 6.484 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/1.136, allocations: 30.56 kB / 0.724 GB, free: 6.445 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/1.136, allocations: 1.031 kB / 0.724 GB, free: 6.445 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002777/1.136, allocations: 49.59 kB / 0.724 GB, free: 6.391 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/1.137, allocations: 51.41 kB / 0.7241 GB, free: 6.328 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/1.137, allocations: 101 kB / 0.7242 GB, free: 6.223 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/1.137, allocations: 29.7 kB / 0.7242 GB, free: 6.188 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/1.137, allocations: 80.14 kB / 0.7243 GB, free: 6.105 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/1.137, allocations: 11.83 kB / 0.7243 GB, free: 6.094 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/1.137, allocations: 0 / 0.7243 GB, free: 6.094 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/1.137, allocations: 318.8 kB / 0.7246 GB, free: 5.773 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/1.137, allocations: 4 kB / 0.7246 GB, free: 5.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/1.137, allocations: 7.938 kB / 0.7246 GB, free: 5.762 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.444e-05/1.137, allocations: 10.5 kB / 0.7246 GB, free: 5.754 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.137, allocations: 0 / 0.7246 GB, free: 5.754 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001154/1.137, allocations: 49.62 kB / 0.7247 GB, free: 5.699 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.137, allocations: 4 kB / 0.7247 GB, free: 5.695 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/1.137, allocations: 4 kB / 0.7247 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/1.137, allocations: 0 / 0.7247 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/1.137, allocations: 8 kB / 0.7247 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/1.137, allocations: 0 / 0.7247 GB, free: 5.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/1.137, allocations: 3.906 kB / 0.7247 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/1.137, allocations: 3.984 kB / 0.7247 GB, free: 5.676 MB / 490.7 MB 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 9.872e-05/1.137, allocations: 108.4 kB / 0.7248 GB, free: 5.566 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/1.137, allocations: 7.906 kB / 0.7248 GB, free: 5.559 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/1.138, allocations: 57.62 kB / 0.7249 GB, free: 5.496 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/1.138, allocations: 4 kB / 0.7249 GB, free: 5.492 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.138, allocations: 0 / 0.7249 GB, free: 5.492 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.138, allocations: 0 / 0.7249 GB, free: 5.492 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/1.138, allocations: 138.2 kB / 0.725 GB, free: 5.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/1.138, allocations: 0 / 0.725 GB, free: 5.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/1.138, allocations: 7.984 kB / 0.725 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/1.138, allocations: 8.781 kB / 0.725 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/1.138, allocations: 240 / 0.725 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.138, allocations: 0 / 0.725 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.138, allocations: 0 / 0.725 GB, free: 5.305 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001426/1.138, allocations: 77.02 kB / 0.7251 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002586/1.138, allocations: 453.4 kB / 0.7255 GB, free: 4.746 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-05/1.138, allocations: 89.09 kB / 0.7256 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/1.138, allocations: 0.6875 kB / 0.7256 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.224e-05/1.139, allocations: 0 / 0.7256 GB, free: 4.641 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/1.139, allocations: 4 kB / 0.7256 GB, free: 4.637 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/1.139, allocations: 3.906 kB / 0.7256 GB, free: 4.633 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.96e-05/1.139, allocations: 83.28 kB / 0.7257 GB, free: 4.551 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009018/1.14, allocations: 39.92 kB / 0.7257 GB, free: 4.512 MB / 490.7 MB 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.0002563/1.14, allocations: 131.2 kB / 0.7259 GB, free: 4.371 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.426e-05/1.14, allocations: 8 kB / 0.7259 GB, free: 4.363 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.14, allocations: 0 / 0.7259 GB, free: 4.363 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.51e-05/1.14, allocations: 15.88 kB / 0.7259 GB, free: 4.348 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/1.14, allocations: 4 kB / 0.7259 GB, free: 4.344 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/1.14, allocations: 59.92 kB / 0.7259 GB, free: 4.262 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/1.141, allocations: 0.6993 MB / 0.7266 GB, free: 3.539 MB / 490.7 MB Notification: Performance of SimCode: time 2.5e-07/1.141, allocations: 0 / 0.7266 GB, free: 3.539 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)