Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Validation_DoorOpenClosed",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.001089/0.001089, allocations: 185.2 kB / 7.8 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4547/0.4547, allocations: 90.85 MB / 99.07 MB, free: 14.9 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 221.4 MB / 342.7 MB, free: 5.402 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009085/0.0009085, allocations: 88.48 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1583/0.1593, allocations: 78.44 MB / 493.9 MB, free: 7.973 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.4921, allocations: 72.31 MB / 0.553 GB, free: 73.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.23/3.722, allocations: 1.873 GB / 2.426 GB, free: 204.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/3.723, allocations: 83.95 kB / 2.426 GB, free: 204.1 MB / 0.6042 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 2.263/5.986, allocations: 0.6686 GB / 3.095 GB, free: 81.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/5.986, allocations: 12.84 kB / 3.095 GB, free: 81.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/5.987, allocations: 153.4 kB / 3.095 GB, free: 81.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/5.989, allocations: 0.5724 MB / 3.095 GB, free: 81.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/5.989, allocations: 23.28 kB / 3.096 GB, free: 81.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/5.989, allocations: 38.75 kB / 3.096 GB, free: 81.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001114/5.99, allocations: 0.584 MB / 3.096 GB, free: 81.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/5.991, allocations: 0.7094 MB / 3.097 GB, free: 81.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/5.991, allocations: 3.094 kB / 3.097 GB, free: 81.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.513e-05/5.991, allocations: 0 / 3.097 GB, free: 81.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.182e-05/5.992, allocations: 45.05 kB / 3.097 GB, free: 81.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004908/5.996, allocations: 4.489 MB / 3.101 GB, free: 77.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008569/5.997, allocations: 422.8 kB / 3.102 GB, free: 77.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/5.998, allocations: 162.8 kB / 3.102 GB, free: 77.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005574/5.998, allocations: 0.7642 MB / 3.103 GB, free: 76.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/5.998, allocations: 40.55 kB / 3.103 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 2.384e-06/5.998, allocations: 0 / 3.103 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.0008852/5.999, allocations: 413.5 kB / 3.103 GB, free: 76.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/5.999, allocations: 55.28 kB / 3.103 GB, free: 76.76 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/6, allocations: 489.4 kB / 3.104 GB, free: 76.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/6, allocations: 29.39 kB / 3.104 GB, free: 76.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/6, allocations: 338.3 kB / 3.104 GB, free: 76.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.095e-05/6, allocations: 129.2 kB / 3.104 GB, free: 76.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/6, allocations: 3.844 kB / 3.104 GB, free: 76.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.966e-05/6, allocations: 364.7 kB / 3.104 GB, free: 76.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/6, allocations: 174.7 kB / 3.104 GB, free: 76.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/6.001, allocations: 305.7 kB / 3.105 GB, free: 75.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/6.001, allocations: 216.9 kB / 3.105 GB, free: 75.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/6.001, allocations: 2.953 kB / 3.105 GB, free: 75.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007861/6.002, allocations: 0.5335 MB / 3.106 GB, free: 75.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/6.002, allocations: 4.656 kB / 3.106 GB, free: 75.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/6.002, allocations: 4.969 kB / 3.106 GB, free: 75.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/6.002, allocations: 5.781 kB / 3.106 GB, free: 75.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/6.002, allocations: 111.1 kB / 3.106 GB, free: 75.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/6.002, allocations: 10.59 kB / 3.106 GB, free: 75.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/6.003, allocations: 77.72 kB / 3.106 GB, free: 75.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/6.003, allocations: 21.28 kB / 3.106 GB, free: 75.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.988e-05/6.003, allocations: 115.6 kB / 3.106 GB, free: 75.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.86e-05/6.003, allocations: 60.12 kB / 3.106 GB, free: 75.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007491/6.004, allocations: 497.9 kB / 3.106 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/6.004, allocations: 6.312 kB / 3.106 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/6.004, allocations: 2.625 kB / 3.106 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/6.004, allocations: 6.781 kB / 3.106 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/6.007, allocations: 1.934 MB / 3.108 GB, free: 74.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/6.007, allocations: 6.188 kB / 3.108 GB, free: 74.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/6.007, allocations: 90.78 kB / 3.108 GB, free: 74.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/6.007, allocations: 14.31 kB / 3.108 GB, free: 74.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/6.007, allocations: 14.45 kB / 3.108 GB, free: 74.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/6.007, allocations: 14.41 kB / 3.108 GB, free: 74.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/6.007, allocations: 11.47 kB / 3.108 GB, free: 74.91 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001088/6.008, allocations: 1.274 MB / 3.11 GB, free: 73.99 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001691/6.01, allocations: 1.996 MB / 3.112 GB, free: 72.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/6.01, allocations: 193.2 kB / 3.112 GB, free: 72.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/6.01, allocations: 10.47 kB / 3.112 GB, free: 72.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005835/6.011, allocations: 55.11 kB / 3.112 GB, free: 72.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.535e-05/6.011, allocations: 40 kB / 3.112 GB, free: 72.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/6.011, allocations: 22.38 kB / 3.112 GB, free: 72.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004272/6.012, allocations: 394.1 kB / 3.112 GB, free: 72.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002147/6.014, allocations: 0.6559 MB / 3.113 GB, free: 72.48 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.002574/6.016, allocations: 2.315 MB / 3.115 GB, free: 71.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006189/6.017, allocations: 408.8 kB / 3.116 GB, free: 71.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/6.017, allocations: 3.906 kB / 3.116 GB, free: 71.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002828/6.017, allocations: 213.9 kB / 3.116 GB, free: 71.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/6.018, allocations: 215.6 kB / 3.116 GB, free: 71.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/6.02, allocations: 1.15 MB / 3.117 GB, free: 71.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006333/6.021, allocations: 1.101 MB / 3.118 GB, free: 70.61 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/6.021, allocations: 2.844 kB / 3.118 GB, free: 70.61 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Validation_DoorOpenClosed.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)