Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.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.Examples.OneOpenDoor,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor",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.76/1.76, allocations: 390.4 MB / 397.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 185.2 kB / 490.8 MB, free: 11.27 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.109/1.109, allocations: 221.4 MB / 0.7863 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008938/0.0008938, allocations: 99.75 kB / 0.9264 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2308/0.2318, allocations: 149.1 MB / 1.072 GB, free: 15.53 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.518/0.7498, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7081/1.458, allocations: 460.8 MB / 1.662 GB, free: 174 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000189/1.458, allocations: 83.69 kB / 1.662 GB, free: 174 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.5516/2.01, allocations: 294.7 MB / 1.95 GB, free: 6.477 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/2.01, allocations: 12 kB / 1.95 GB, free: 6.465 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004496/2.01, allocations: 193.7 kB / 1.95 GB, free: 6.273 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/2.013, allocations: 1.383 MB / 1.951 GB, free: 4.848 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/2.013, allocations: 48 kB / 1.951 GB, free: 4.801 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/2.013, allocations: 88 kB / 1.951 GB, free: 4.715 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003388/2.016, allocations: 2.263 MB / 1.953 GB, free: 2.449 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/2.019, allocations: 1.648 MB / 1.955 GB, free: 0.7617 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/2.019, allocations: 3.984 kB / 1.955 GB, free: 0.7578 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/2.019, allocations: 11.91 kB / 1.955 GB, free: 0.7461 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/2.019, allocations: 43.92 kB / 1.955 GB, free: 0.7031 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006903/2.026, allocations: 4.99 MB / 1.96 GB, free: 11.63 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/2.027, allocations: 1.161 MB / 1.961 GB, free: 10.45 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/2.029, allocations: 1.351 MB / 1.962 GB, free: 9.102 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001449/2.031, allocations: 1.727 MB / 1.964 GB, free: 7.008 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/2.031, allocations: 64.5 kB / 1.964 GB, free: 6.934 MB / 1.151 GB Notification: Performance of pre-optimization done (n=237): time 3.005e-06/2.031, allocations: 3.938 kB / 1.964 GB, free: 6.93 MB / 1.151 GB Notification: Performance of matching and sorting (n=237): time 0.00475/2.035, allocations: 2.446 MB / 1.967 GB, free: 4.465 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/2.036, allocations: 77.41 kB / 1.967 GB, free: 4.379 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008055/2.036, allocations: 0.6606 MB / 1.967 GB, free: 3.711 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.559e-05/2.036, allocations: 33.7 kB / 1.967 GB, free: 3.672 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/2.037, allocations: 362.1 kB / 1.968 GB, free: 3.309 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005363/2.037, allocations: 0.7541 MB / 1.968 GB, free: 2.543 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.354e-05/2.037, allocations: 4 kB / 1.968 GB, free: 2.539 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001517/2.037, allocations: 389.9 kB / 1.969 GB, free: 2.152 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/2.039, allocations: 0.8475 MB / 1.97 GB, free: 1.301 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/2.04, allocations: 1.051 MB / 1.971 GB, free: 200 kB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2811/2.321, allocations: 1.299 MB / 1.972 GB, free: 367.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/2.321, allocations: 0 / 1.972 GB, free: 367.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005344/2.326, allocations: 2.544 MB / 1.974 GB, free: 367.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/2.326, allocations: 4.719 kB / 1.974 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/2.327, allocations: 3.969 kB / 1.974 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/2.327, allocations: 14.47 kB / 1.974 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/2.328, allocations: 441.2 kB / 1.975 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-05/2.328, allocations: 21.03 kB / 1.975 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/2.33, allocations: 172.9 kB / 1.975 GB, free: 367.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/2.33, allocations: 73.81 kB / 1.975 GB, free: 367.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * 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 0.0002722/2.33, allocations: 128.8 kB / 1.975 GB, free: 367.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/2.33, allocations: 146.1 kB / 1.975 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005077/2.335, allocations: 2.877 MB / 1.978 GB, free: 367.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/2.335, allocations: 24.69 kB / 1.978 GB, free: 367.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/2.335, allocations: 0 / 1.978 GB, free: 367.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003885/2.339, allocations: 2.519 MB / 1.981 GB, free: 367.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00624/2.346, allocations: 4.24 MB / 1.985 GB, free: 366.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/2.346, allocations: 0 / 1.985 GB, free: 366.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/2.347, allocations: 415.5 kB / 1.985 GB, free: 366.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/2.348, allocations: 80.78 kB / 1.985 GB, free: 366.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/2.348, allocations: 24.69 kB / 1.985 GB, free: 366.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005391/2.348, allocations: 1.126 MB / 1.986 GB, free: 365.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/2.348, allocations: 6.828 kB / 1.986 GB, free: 365.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005799/2.354, allocations: 4.227 MB / 1.99 GB, free: 365.4 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007274/2.361, allocations: 6.121 MB / 1.996 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007888/2.362, allocations: 498 kB / 1.997 GB, free: 364.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/2.362, allocations: 3.906 kB / 1.997 GB, free: 364.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009943/2.363, allocations: 75.31 kB / 1.997 GB, free: 364.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/2.364, allocations: 126.3 kB / 1.997 GB, free: 364.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/2.364, allocations: 69.02 kB / 1.997 GB, free: 364.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005587/2.364, allocations: 0.5217 MB / 1.998 GB, free: 364.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001898/2.366, allocations: 0.6821 MB / 1.998 GB, free: 364.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007156/2.367, allocations: 0.5621 MB / 1.999 GB, free: 364.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002312/2.369, allocations: 2.199 MB / 2.001 GB, free: 364.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/2.369, allocations: 0 / 2.001 GB, free: 364.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/2.371, allocations: 1.233 MB / 2.002 GB, free: 364.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/2.373, allocations: 472 kB / 2.003 GB, free: 364.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004248/2.377, allocations: 3.189 MB / 2.006 GB, free: 363.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/2.378, allocations: 1.586 MB / 2.007 GB, free: 363 MB / 1.151 GB Notification: Performance of SimCode: time 3e-07/2.378, allocations: 0 / 2.007 GB, free: 363 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneOpenDoor.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)