Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.793/1.793, allocations: 390.4 MB / 397.7 MB, free: 10.61 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.0009679/0.0009679, allocations: 181.7 kB / 490.8 MB, free: 11.2 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.55 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.0008546/0.0008546, allocations: 101.1 kB / 0.9264 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2295/0.2304, allocations: 149.1 MB / 1.072 GB, free: 15.48 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5282/0.7586, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.666/3.425, allocations: 1.935 GB / 3.146 GB, free: 140.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/3.425, allocations: 87.95 kB / 3.146 GB, free: 140.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 4.514/7.939, allocations: 1.764 GB / 4.91 GB, free: 133.5 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/7.939, allocations: 8 kB / 4.91 GB, free: 133.5 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006799/7.946, allocations: 0.9819 MB / 4.911 GB, free: 132.5 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004684/7.951, allocations: 1.968 MB / 4.913 GB, free: 130.5 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/7.951, allocations: 86.97 kB / 4.913 GB, free: 130.4 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008374/7.952, allocations: 160 kB / 4.914 GB, free: 130.3 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005123/7.957, allocations: 3.098 MB / 4.917 GB, free: 127.2 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003964/7.961, allocations: 2.957 MB / 4.919 GB, free: 124.1 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.897e-05/7.961, allocations: 7.938 kB / 4.919 GB, free: 124.1 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/7.961, allocations: 4 kB / 4.919 GB, free: 124.1 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.967e-05/7.961, allocations: 117.1 kB / 4.92 GB, free: 124 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/7.974, allocations: 13.79 MB / 4.933 GB, free: 109.7 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/7.977, allocations: 2.669 MB / 4.936 GB, free: 107 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002106/7.979, allocations: 1.847 MB / 4.937 GB, free: 105.2 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/7.98, allocations: 1.496 MB / 4.939 GB, free: 103.4 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/7.98, allocations: 65.5 kB / 4.939 GB, free: 103.3 MB / 1.198 GB Notification: Performance of pre-optimization done (n=278): time 3.607e-06/7.98, allocations: 0 / 4.939 GB, free: 103.3 MB / 1.198 GB Notification: Performance of matching and sorting (n=278): time 0.006331/7.987, allocations: 3.194 MB / 4.942 GB, free: 100.1 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/7.987, allocations: 77.59 kB / 4.942 GB, free: 100 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/7.988, allocations: 1.02 MB / 4.943 GB, free: 98.98 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/7.988, allocations: 25.7 kB / 4.943 GB, free: 98.95 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/7.988, allocations: 0.7211 MB / 4.944 GB, free: 98.22 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005369/7.989, allocations: 0.9042 MB / 4.945 GB, free: 97.3 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/7.989, allocations: 0 / 4.945 GB, free: 97.3 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001055/7.989, allocations: 406.9 kB / 4.945 GB, free: 96.9 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/7.991, allocations: 1.141 MB / 4.946 GB, free: 95.75 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/7.992, allocations: 1.432 MB / 4.948 GB, free: 94.24 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/7.995, allocations: 1.551 MB / 4.949 GB, free: 92.68 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/7.995, allocations: 4 kB / 4.949 GB, free: 92.68 MB / 1.198 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004898/8, allocations: 3.227 MB / 4.952 GB, free: 89.42 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/8, allocations: 9.406 kB / 4.952 GB, free: 89.41 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/8, allocations: 7.562 kB / 4.952 GB, free: 89.41 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/8, allocations: 16 kB / 4.952 GB, free: 89.39 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/8.002, allocations: 0.5344 MB / 4.953 GB, free: 88.86 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/8.002, allocations: 22.38 kB / 4.953 GB, free: 88.84 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/8.005, allocations: 320.2 kB / 4.953 GB, free: 88.55 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/8.005, allocations: 99.81 kB / 4.953 GB, free: 88.45 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 311 * 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.0003145/8.005, allocations: 140.5 kB / 4.953 GB, free: 88.3 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/8.006, allocations: 217.4 kB / 4.954 GB, free: 88.09 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005273/8.011, allocations: 3.35 MB / 4.957 GB, free: 84.71 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/8.011, allocations: 28 kB / 4.957 GB, free: 84.68 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/8.011, allocations: 0 / 4.957 GB, free: 84.68 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003995/8.015, allocations: 2.859 MB / 4.96 GB, free: 81.76 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009/8.024, allocations: 6.311 MB / 4.966 GB, free: 75.41 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/8.024, allocations: 0 / 4.966 GB, free: 75.41 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/8.027, allocations: 0.5618 MB / 4.966 GB, free: 74.85 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-05/8.027, allocations: 10.75 kB / 4.966 GB, free: 74.84 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/8.027, allocations: 35.95 kB / 4.967 GB, free: 74.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/8.027, allocations: 8 kB / 4.967 GB, free: 74.8 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/8.027, allocations: 0 / 4.967 GB, free: 74.8 MB / 1.198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00632/8.033, allocations: 4.715 MB / 4.971 GB, free: 70.01 MB / 1.198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009337/8.042, allocations: 7.265 MB / 4.978 GB, free: 62.66 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/8.044, allocations: 0.6304 MB / 4.979 GB, free: 62.01 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004259/8.044, allocations: 7.344 kB / 4.979 GB, free: 62 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/8.046, allocations: 181.7 kB / 4.979 GB, free: 61.84 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/8.047, allocations: 134.5 kB / 4.979 GB, free: 61.71 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002251/8.047, allocations: 92.52 kB / 4.979 GB, free: 61.62 MB / 1.198 GB Notification: Performance of sort global known variables: time 0.00107/8.048, allocations: 0.7836 MB / 4.98 GB, free: 60.84 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.004109/8.052, allocations: 1.74 MB / 4.982 GB, free: 59.1 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 278 * 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.005011/8.057, allocations: 4.709 MB / 4.986 GB, free: 54.68 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.003601/8.061, allocations: 2.848 MB / 4.989 GB, free: 51.81 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/8.061, allocations: 4 kB / 4.989 GB, free: 51.81 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001794/8.063, allocations: 1.531 MB / 4.991 GB, free: 50.28 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005269/8.068, allocations: 1.081 MB / 4.992 GB, free: 49.24 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00894/8.077, allocations: 5.297 MB / 4.997 GB, free: 43.97 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002354/8.079, allocations: 2.295 MB / 4.999 GB, free: 41.64 MB / 1.198 GB Notification: Performance of SimCode: time 8.31e-07/8.079, allocations: 0 / 4.999 GB, free: 41.64 MB / 1.198 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat does not exist to compare? outputFormat=mat