Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",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/Buildings 10.0.0-master/package.mo): time 1.823/1.823, allocations: 390.4 MB / 397.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009605/0.0009605, allocations: 189.3 kB / 490.8 MB, free: 1.953 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.172/1.172, allocations: 221.4 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009178/0.0009178, allocations: 96.47 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4471/0.448, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.6455, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.115/3.761, allocations: 1.923 GB / 3.135 GB, free: 414.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/3.761, allocations: 85.05 kB / 3.135 GB, free: 414.3 MB / 1.151 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.142/4.903, allocations: 462.8 MB / 3.587 GB, free: 290.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/4.903, allocations: 7.812 kB / 3.587 GB, free: 290.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007226/4.903, allocations: 162.9 kB / 3.587 GB, free: 290.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/4.905, allocations: 0.6404 MB / 3.588 GB, free: 290.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/4.905, allocations: 29 kB / 3.588 GB, free: 290.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/4.905, allocations: 53.53 kB / 3.588 GB, free: 290.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001915/4.907, allocations: 1.318 MB / 3.589 GB, free: 290.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/4.908, allocations: 1.066 MB / 3.59 GB, free: 290.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/4.908, allocations: 0 / 3.59 GB, free: 290.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.664e-05/4.909, allocations: 5.625 kB / 3.59 GB, free: 290.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/4.909, allocations: 51.22 kB / 3.59 GB, free: 290.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004767/4.913, allocations: 3.496 MB / 3.593 GB, free: 288.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/4.915, allocations: 1.287 MB / 3.595 GB, free: 288.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007369/4.916, allocations: 0.6894 MB / 3.595 GB, free: 288.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006738/4.916, allocations: 0.9602 MB / 3.596 GB, free: 287.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00079/4.917, allocations: 0.6947 MB / 3.597 GB, free: 287.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=123): time 2.345e-06/4.917, allocations: 3.062 kB / 3.597 GB, free: 287.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=123): time 0.00256/4.92, allocations: 1.382 MB / 3.598 GB, free: 287.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/4.92, allocations: 93.19 kB / 3.598 GB, free: 287.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/4.92, allocations: 0.5187 MB / 3.599 GB, free: 287.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/4.92, allocations: 30.02 kB / 3.599 GB, free: 287.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/4.921, allocations: 299.5 kB / 3.599 GB, free: 287 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/4.921, allocations: 401.7 kB / 3.6 GB, free: 286.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/4.921, allocations: 0 / 3.6 GB, free: 286.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/4.921, allocations: 394.9 kB / 3.6 GB, free: 286.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/4.922, allocations: 0.5117 MB / 3.6 GB, free: 286.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/4.922, allocations: 0.6914 MB / 3.601 GB, free: 286.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/4.924, allocations: 0.7518 MB / 3.602 GB, free: 286.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/4.924, allocations: 3.375 kB / 3.602 GB, free: 286.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002507/4.926, allocations: 1.506 MB / 3.603 GB, free: 286.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/4.926, allocations: 3.188 kB / 3.603 GB, free: 286.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/4.926, allocations: 5.875 kB / 3.603 GB, free: 286.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/4.926, allocations: 13.69 kB / 3.603 GB, free: 286.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008971/4.927, allocations: 234 kB / 3.604 GB, free: 286.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/4.927, allocations: 15.62 kB / 3.604 GB, free: 286.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007485/4.928, allocations: 89.8 kB / 3.604 GB, free: 286.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/4.928, allocations: 50.8 kB / 3.604 GB, free: 286.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,$PRE.bouTem.nextEvent,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * 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.0001921/4.928, allocations: 163.7 kB / 3.604 GB, free: 286.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/4.929, allocations: 90.5 kB / 3.604 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/4.931, allocations: 1.612 MB / 3.606 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/4.931, allocations: 10.84 kB / 3.606 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/4.931, allocations: 0 / 3.606 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/4.931, allocations: 3.75 kB / 3.606 GB, free: 286 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004785/4.936, allocations: 3.243 MB / 3.609 GB, free: 285.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/4.936, allocations: 10.47 kB / 3.609 GB, free: 285.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008585/4.937, allocations: 206.4 kB / 3.609 GB, free: 285.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/4.937, allocations: 10.38 kB / 3.609 GB, free: 285.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.745e-05/4.937, allocations: 20.61 kB / 3.609 GB, free: 285.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/4.937, allocations: 14.75 kB / 3.609 GB, free: 285.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/4.937, allocations: 13.25 kB / 3.609 GB, free: 285.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003342/4.941, allocations: 2.838 MB / 3.612 GB, free: 284.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004246/4.945, allocations: 4.139 MB / 3.616 GB, free: 283.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005256/4.945, allocations: 322.2 kB / 3.616 GB, free: 283.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/4.946, allocations: 13.62 kB / 3.616 GB, free: 283.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/4.946, allocations: 36.78 kB / 3.616 GB, free: 283.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/4.946, allocations: 80.09 kB / 3.616 GB, free: 283.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.231e-05/4.946, allocations: 49.22 kB / 3.616 GB, free: 283.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003964/4.947, allocations: 418.8 kB / 3.617 GB, free: 283.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001977/4.949, allocations: 0.6421 MB / 3.617 GB, free: 283.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * 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.001865/4.951, allocations: 1.797 MB / 3.619 GB, free: 282.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001405/4.952, allocations: 1.247 MB / 3.62 GB, free: 282.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/4.952, allocations: 0 / 3.62 GB, free: 282.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006839/4.953, allocations: 0.6821 MB / 3.621 GB, free: 282.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/4.954, allocations: 211.3 kB / 3.621 GB, free: 282.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/4.956, allocations: 1.873 MB / 3.623 GB, free: 282 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008408/4.957, allocations: 1.235 MB / 3.624 GB, free: 281.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.282e-06/4.957, allocations: 0 / 3.624 GB, free: 281.3 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)