Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7733/0.7733, allocations: 141.8 MB / 149.1 MB, free: 3.965 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 183.4 kB / 181.9 MB, free: 15.71 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.463/1.463, allocations: 221.4 MB / 436 MB, free: 8.836 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.001042/0.001042, allocations: 101.7 kB / 0.507 GB, free: 24.15 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.002091, allocations: 274.1 kB / 0.5884 GB, free: 11.87 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2236/0.2257, allocations: 89.65 MB / 0.676 GB, free: 2.133 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.6974, allocations: 82.76 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.8237, allocations: 107.6 MB / 0.8619 GB, free: 4.707 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.8239, allocations: 84.47 kB / 0.8619 GB, free: 4.629 MB / 0.5263 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.002268/0.8262, allocations: 0.8743 MB / 0.8628 GB, free: 3.727 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.8263, allocations: 9.906 kB / 0.8628 GB, free: 3.719 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.8263, allocations: 4 kB / 0.8628 GB, free: 3.715 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.814e-05/0.8264, allocations: 167.6 kB / 0.863 GB, free: 3.512 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.8264, allocations: 0 / 0.863 GB, free: 3.512 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.8264, allocations: 0.9062 kB / 0.863 GB, free: 3.512 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.108e-05/0.8265, allocations: 4 kB / 0.863 GB, free: 3.508 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.175e-05/0.8266, allocations: 34.14 kB / 0.863 GB, free: 3.469 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.8266, allocations: 0.7812 kB / 0.863 GB, free: 3.469 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.8266, allocations: 3.984 kB / 0.863 GB, free: 3.465 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.8266, allocations: 0.5312 kB / 0.863 GB, free: 3.465 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.8267, allocations: 139.9 kB / 0.8631 GB, free: 3.293 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 3.86e-05/0.8267, allocations: 18.61 kB / 0.8632 GB, free: 3.266 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.8268, allocations: 17.48 kB / 0.8632 GB, free: 3.246 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005097/0.8273, allocations: 0.5995 MB / 0.8638 GB, free: 2.523 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.8273, allocations: 36.56 kB / 0.8638 GB, free: 2.48 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.8273, allocations: 0 / 0.8638 GB, free: 2.48 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2): time 0.000146/0.8275, allocations: 38.42 kB / 0.8638 GB, free: 2.438 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.8275, allocations: 52.44 kB / 0.8639 GB, free: 2.375 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.364e-05/0.8276, allocations: 93 kB / 0.864 GB, free: 2.277 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.8276, allocations: 26.36 kB / 0.864 GB, free: 2.246 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.452e-05/0.8276, allocations: 84.12 kB / 0.8641 GB, free: 2.16 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.8276, allocations: 9.031 kB / 0.8641 GB, free: 2.152 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.8276, allocations: 0 / 0.8641 GB, free: 2.152 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.955e-05/0.8277, allocations: 311.4 kB / 0.8644 GB, free: 1.84 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.8277, allocations: 9.156 kB / 0.8644 GB, free: 1.832 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-06/0.8277, allocations: 0.75 kB / 0.8644 GB, free: 1.832 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.004e-05/0.8278, allocations: 4 kB / 0.8644 GB, free: 1.828 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8278, allocations: 0.7188 kB / 0.8644 GB, free: 1.828 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.106e-05/0.8279, allocations: 42.19 kB / 0.8644 GB, free: 1.781 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.8279, allocations: 5.531 kB / 0.8644 GB, free: 1.777 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8279, allocations: 0 / 0.8644 GB, free: 1.777 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.8279, allocations: 7.375 kB / 0.8645 GB, free: 1.773 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.682e-05/0.828, allocations: 3.938 kB / 0.8645 GB, free: 1.77 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.828, allocations: 0 / 0.8645 GB, free: 1.77 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.828, allocations: 8.812 kB / 0.8645 GB, free: 1.762 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.828, allocations: 0 / 0.8645 GB, free: 1.762 MB / 0.5263 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 5.533e-05/0.8281, allocations: 105.7 kB / 0.8646 GB, free: 1.652 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/0.8281, allocations: 0.5938 kB / 0.8646 GB, free: 1.652 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.8282, allocations: 56.33 kB / 0.8646 GB, free: 1.598 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.8282, allocations: 0 / 0.8646 GB, free: 1.598 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8282, allocations: 0 / 0.8646 GB, free: 1.598 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8282, allocations: 0 / 0.8646 GB, free: 1.598 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.571e-05/0.8283, allocations: 134.1 kB / 0.8648 GB, free: 1.43 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8283, allocations: 0 / 0.8648 GB, free: 1.43 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.8283, allocations: 8 kB / 0.8648 GB, free: 1.422 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.8283, allocations: 0 / 0.8648 GB, free: 1.422 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.8283, allocations: 0 / 0.8648 GB, free: 1.422 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.8284, allocations: 0 / 0.8648 GB, free: 1.422 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8284, allocations: 3.938 kB / 0.8648 GB, free: 1.418 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.827e-05/0.8284, allocations: 65.06 kB / 0.8648 GB, free: 1.336 MB / 0.5263 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001101/0.8286, allocations: 441.5 kB / 0.8652 GB, free: 0.8828 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.776e-05/0.8286, allocations: 81.02 kB / 0.8653 GB, free: 0.7852 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.8286, allocations: 4.062 kB / 0.8653 GB, free: 0.7812 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.846e-05/0.8286, allocations: 4 kB / 0.8653 GB, free: 0.7773 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.8286, allocations: 4 kB / 0.8653 GB, free: 0.7734 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.8287, allocations: 0 / 0.8653 GB, free: 0.7734 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.85e-05/0.8287, allocations: 83.27 kB / 0.8654 GB, free: 0.6914 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0008073/0.8295, allocations: 12 kB / 0.8654 GB, free: 0.6797 MB / 0.5263 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.0001391/0.8296, allocations: 119.1 kB / 0.8655 GB, free: 0.5508 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 5.914e-05/0.8297, allocations: 4 kB / 0.8655 GB, free: 0.5469 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8297, allocations: 8.062 kB / 0.8655 GB, free: 0.5391 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 8.926e-06/0.8297, allocations: 11.98 kB / 0.8656 GB, free: 0.5273 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001625/0.8299, allocations: 4.562 kB / 0.8656 GB, free: 0.5234 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001735/0.8301, allocations: 48.06 kB / 0.8656 GB, free: 464 kB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.8303, allocations: 0.6918 MB / 0.8663 GB, free: 15.73 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.8303, allocations: 0 / 0.8663 GB, free: 15.73 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)