Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.76/0.76, allocations: 141.8 MB / 149.1 MB, free: 13.1 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 186.1 kB / 181.9 MB, free: 9.789 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.4 MB / 436 MB, free: 2.195 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009831/0.0009834, allocations: 101.3 kB / 0.507 GB, free: 10.98 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001771/0.001772, allocations: 284.3 kB / 0.5884 GB, free: 7.812 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2176/0.2194, allocations: 89.65 MB / 0.676 GB, free: 14.07 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.684, allocations: 82.76 MB / 0.7568 GB, free: 139 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.8094, allocations: 108 MB / 0.8622 GB, free: 30.87 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.8097, allocations: 83.86 kB / 0.8623 GB, free: 30.79 MB / 0.5575 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.004654/0.8144, allocations: 1.839 MB / 0.8641 GB, free: 28.94 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.8144, allocations: 10.16 kB / 0.8641 GB, free: 28.93 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.8144, allocations: 7.906 kB / 0.8641 GB, free: 28.92 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.579e-05/0.8145, allocations: 164.2 kB / 0.8643 GB, free: 28.72 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.8146, allocations: 4 kB / 0.8643 GB, free: 28.72 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.8146, allocations: 7.906 kB / 0.8643 GB, free: 28.71 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.362e-05/0.8147, allocations: 8.797 kB / 0.8643 GB, free: 28.7 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.618e-05/0.8147, allocations: 37.58 kB / 0.8643 GB, free: 28.66 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.8147, allocations: 1.062 kB / 0.8644 GB, free: 28.66 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.8148, allocations: 4 kB / 0.8644 GB, free: 28.66 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8148, allocations: 0 / 0.8644 GB, free: 28.66 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.8149, allocations: 135.8 kB / 0.8645 GB, free: 28.49 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.882e-05/0.815, allocations: 35.92 kB / 0.8645 GB, free: 28.45 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.311e-05/0.815, allocations: 8.922 kB / 0.8645 GB, free: 28.43 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007113/0.8157, allocations: 1.165 MB / 0.8657 GB, free: 27.02 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.8158, allocations: 39.69 kB / 0.8657 GB, free: 26.97 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.8158, allocations: 0 / 0.8657 GB, free: 26.97 MB / 0.5575 GB Notification: Performance of matching and sorting (n=3): time 0.0001815/0.816, allocations: 46.38 kB / 0.8657 GB, free: 26.92 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.816, allocations: 52.06 kB / 0.8658 GB, free: 26.86 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.816, allocations: 101.5 kB / 0.8659 GB, free: 26.75 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.8161, allocations: 25.7 kB / 0.8659 GB, free: 26.72 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 1.664e-05/0.8161, allocations: 80.64 kB / 0.866 GB, free: 26.64 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.8161, allocations: 16.31 kB / 0.866 GB, free: 26.62 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.8161, allocations: 4.438 kB / 0.866 GB, free: 26.62 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.8162, allocations: 311.8 kB / 0.8663 GB, free: 26.3 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/0.8162, allocations: 4 kB / 0.8663 GB, free: 26.3 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-06/0.8162, allocations: 0.6562 kB / 0.8663 GB, free: 26.3 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.8163, allocations: 8.641 kB / 0.8663 GB, free: 26.29 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8163, allocations: 0 / 0.8663 GB, free: 26.29 MB / 0.5575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.009e-05/0.8164, allocations: 46.97 kB / 0.8664 GB, free: 26.24 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.8164, allocations: 8 kB / 0.8664 GB, free: 26.23 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.8164, allocations: 0 / 0.8664 GB, free: 26.23 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.8164, allocations: 0 / 0.8664 GB, free: 26.23 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.362e-05/0.8165, allocations: 8.469 kB / 0.8664 GB, free: 26.23 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.8165, allocations: 4.406 kB / 0.8664 GB, free: 26.22 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.8165, allocations: 4.844 kB / 0.8664 GB, free: 26.22 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.8165, allocations: 4 kB / 0.8664 GB, free: 26.21 MB / 0.5575 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 5.012e-05/0.8166, allocations: 102 kB / 0.8665 GB, free: 26.11 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.107e-05/0.8166, allocations: 7.891 kB / 0.8665 GB, free: 26.1 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.8168, allocations: 68.17 kB / 0.8666 GB, free: 26.03 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.8168, allocations: 0 / 0.8666 GB, free: 26.03 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.8168, allocations: 0 / 0.8666 GB, free: 26.03 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.8168, allocations: 0 / 0.8666 GB, free: 26.03 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.823e-05/0.8169, allocations: 134.2 kB / 0.8667 GB, free: 25.86 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.8169, allocations: 7.906 kB / 0.8667 GB, free: 25.85 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.8169, allocations: 8 kB / 0.8667 GB, free: 25.84 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8169, allocations: 0 / 0.8667 GB, free: 25.84 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.8169, allocations: 0 / 0.8667 GB, free: 25.84 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.8169, allocations: 3.938 kB / 0.8667 GB, free: 25.84 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8169, allocations: 3.938 kB / 0.8667 GB, free: 25.84 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.121e-05/0.817, allocations: 73.03 kB / 0.8668 GB, free: 25.75 MB / 0.5575 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001353/0.8172, allocations: 457.4 kB / 0.8672 GB, free: 25.28 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.8172, allocations: 81.09 kB / 0.8673 GB, free: 25.18 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.8172, allocations: 0 / 0.8673 GB, free: 25.18 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.8173, allocations: 8 kB / 0.8673 GB, free: 25.17 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.8173, allocations: 3.906 kB / 0.8673 GB, free: 25.17 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.8173, allocations: 3.984 kB / 0.8673 GB, free: 25.16 MB / 0.5575 GB Notification: Performance of sort global known variables: time 2.399e-05/0.8173, allocations: 87.28 kB / 0.8674 GB, free: 25.08 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0007399/0.8181, allocations: 39.88 kB / 0.8674 GB, free: 25.04 MB / 0.5575 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.0001875/0.8183, allocations: 127.2 kB / 0.8676 GB, free: 24.91 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 6.742e-05/0.8184, allocations: 15.98 kB / 0.8676 GB, free: 24.89 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8184, allocations: 0 / 0.8676 GB, free: 24.89 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 1.038e-05/0.8184, allocations: 8 kB / 0.8676 GB, free: 24.88 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.8185, allocations: 3.938 kB / 0.8676 GB, free: 24.88 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.8187, allocations: 70.11 kB / 0.8677 GB, free: 24.79 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.8189, allocations: 0.6915 MB / 0.8683 GB, free: 24.07 MB / 0.5575 GB Notification: Performance of SimCode: time 2.51e-07/0.8189, allocations: 0 / 0.8683 GB, free: 24.07 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)