Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.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.Validation.OpenDoorPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorPressure",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.738/0.738, allocations: 141.8 MB / 149.1 MB, free: 13.14 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.001183/0.001183, allocations: 197.2 kB / 181.9 MB, free: 9.82 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.321/1.321, allocations: 221.3 MB / 436 MB, free: 2.387 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.001029/0.001029, allocations: 99.75 kB / 0.507 GB, free: 11.05 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001817/0.001817, allocations: 277 kB / 0.5884 GB, free: 7.867 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1833/0.1852, allocations: 89.64 MB / 0.676 GB, free: 14.14 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.5808, allocations: 82.77 MB / 0.7568 GB, free: 139 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.766/4.347, allocations: 1.883 GB / 2.639 GB, free: 145.3 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/4.347, allocations: 87.94 kB / 2.639 GB, free: 145.2 MB / 0.6982 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 1.874/6.222, allocations: 462.9 MB / 3.092 GB, free: 145.1 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/6.222, allocations: 11.12 kB / 3.092 GB, free: 145.1 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/6.223, allocations: 159.3 kB / 3.092 GB, free: 145 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/6.225, allocations: 0.649 MB / 3.092 GB, free: 144.8 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.715e-05/6.225, allocations: 31.81 kB / 3.092 GB, free: 144.8 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003972/6.226, allocations: 49.81 kB / 3.092 GB, free: 144.8 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002803/6.228, allocations: 1.318 MB / 3.094 GB, free: 144.8 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/6.23, allocations: 1.068 MB / 3.095 GB, free: 144.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/6.23, allocations: 0 / 3.095 GB, free: 144.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-05/6.23, allocations: 0 / 3.095 GB, free: 144.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.182e-05/6.231, allocations: 53.02 kB / 3.095 GB, free: 144.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005914/6.236, allocations: 3.234 MB / 3.098 GB, free: 143.6 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/6.238, allocations: 1.336 MB / 3.099 GB, free: 143.6 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/6.239, allocations: 0.7186 MB / 3.1 GB, free: 143.6 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/6.241, allocations: 1.539 MB / 3.101 GB, free: 141.9 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/6.242, allocations: 0.7029 MB / 3.102 GB, free: 141.8 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=127): time 4.098e-06/6.242, allocations: 0 / 3.102 GB, free: 141.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=127): time 0.003645/6.246, allocations: 1.436 MB / 3.104 GB, free: 141.7 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.428e-05/6.246, allocations: 90.02 kB / 3.104 GB, free: 141.6 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/6.247, allocations: 0.4911 MB / 3.104 GB, free: 141.5 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/6.247, allocations: 33.14 kB / 3.104 GB, free: 141.5 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/6.248, allocations: 292.2 kB / 3.104 GB, free: 141.3 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004621/6.248, allocations: 404.3 kB / 3.105 GB, free: 141.1 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/6.248, allocations: 0 / 3.105 GB, free: 141.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0002107/6.248, allocations: 393.6 kB / 3.105 GB, free: 140.8 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007877/6.249, allocations: 0.5191 MB / 3.106 GB, free: 140.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009723/6.25, allocations: 0.6675 MB / 3.106 GB, free: 140.6 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/6.252, allocations: 0.7557 MB / 3.107 GB, free: 140.6 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/6.252, allocations: 0 / 3.107 GB, free: 140.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003881/6.256, allocations: 1.519 MB / 3.109 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/6.256, allocations: 5.219 kB / 3.109 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/6.256, allocations: 6.219 kB / 3.109 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-05/6.256, allocations: 8.969 kB / 3.109 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/6.257, allocations: 227.6 kB / 3.109 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.534e-05/6.257, allocations: 10.84 kB / 3.109 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/6.259, allocations: 90.02 kB / 3.109 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/6.259, allocations: 50.84 kB / 3.109 GB, free: 140.5 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0003617/6.259, allocations: 160 kB / 3.109 GB, free: 140.4 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003219/6.26, allocations: 90.75 kB / 3.109 GB, free: 140.3 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005071/6.265, allocations: 1.658 MB / 3.111 GB, free: 140.2 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/6.265, allocations: 17.22 kB / 3.111 GB, free: 140.2 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/6.265, allocations: 0 / 3.111 GB, free: 140.2 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/6.265, allocations: 3.75 kB / 3.111 GB, free: 140.2 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007449/6.272, allocations: 3.601 MB / 3.114 GB, free: 139.5 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/6.272, allocations: 10.59 kB / 3.114 GB, free: 139.5 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/6.273, allocations: 215.3 kB / 3.115 GB, free: 139.5 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.569e-05/6.273, allocations: 11.69 kB / 3.115 GB, free: 139.5 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/6.274, allocations: 24.47 kB / 3.115 GB, free: 139.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.528e-05/6.274, allocations: 14.44 kB / 3.115 GB, free: 139.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/6.274, allocations: 10.31 kB / 3.115 GB, free: 139.5 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005031/6.279, allocations: 2.997 MB / 3.118 GB, free: 138.6 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006138/6.285, allocations: 4.33 MB / 3.122 GB, free: 137.2 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/6.286, allocations: 327.8 kB / 3.122 GB, free: 137.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/6.286, allocations: 12.66 kB / 3.122 GB, free: 137.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/6.287, allocations: 44.95 kB / 3.122 GB, free: 137.1 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/6.288, allocations: 85.14 kB / 3.122 GB, free: 137.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/6.288, allocations: 53.8 kB / 3.122 GB, free: 137.1 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0006444/6.288, allocations: 408.9 kB / 3.123 GB, free: 137 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003239/6.292, allocations: 0.6384 MB / 3.123 GB, free: 137 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 1 * 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.00356/6.295, allocations: 1.799 MB / 3.125 GB, free: 136.5 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002617/6.298, allocations: 1.269 MB / 3.126 GB, free: 136.5 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.212e-05/6.298, allocations: 6.594 kB / 3.126 GB, free: 136.5 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/6.299, allocations: 0.7063 MB / 3.127 GB, free: 136.4 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/6.301, allocations: 222.8 kB / 3.127 GB, free: 136.4 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/6.306, allocations: 1.9 MB / 3.129 GB, free: 135.9 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/6.307, allocations: 1.237 MB / 3.13 GB, free: 135.2 MB / 0.6982 GB Notification: Performance of SimCode: time 1.282e-06/6.307, allocations: 0 / 3.13 GB, free: 135.2 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorPressure.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)