Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_Orifice",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 8.0.1-maint.8.0.x/package.mo): time 1.311/1.311, allocations: 285.5 MB / 292.8 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009026/0.0009026, allocations: 181.3 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.029/1.029, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007513/0.0007514, allocations: 86.16 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1801/0.1808, allocations: 121.4 MB / 0.8511 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.5898, allocations: 115.3 MB / 0.9637 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.921/3.511, allocations: 2.064 GB / 3.028 GB, free: 336.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/3.511, allocations: 84.25 kB / 3.028 GB, free: 336.8 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.5723/4.083, allocations: 355.2 MB / 3.375 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/4.083, allocations: 8.5 kB / 3.375 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/4.084, allocations: 191.2 kB / 3.375 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005093/4.085, allocations: 404 kB / 3.375 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/4.085, allocations: 12 kB / 3.375 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/4.085, allocations: 16 kB / 3.375 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000353/4.085, allocations: 265.2 kB / 3.376 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/4.086, allocations: 339.1 kB / 3.376 GB, free: 9.766 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/4.086, allocations: 0 / 3.376 GB, free: 9.766 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/4.086, allocations: 0 / 3.376 GB, free: 9.766 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/4.086, allocations: 11.98 kB / 3.376 GB, free: 9.754 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/4.087, allocations: 1.632 MB / 3.377 GB, free: 8.008 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/4.088, allocations: 250.6 kB / 3.378 GB, free: 7.754 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/4.088, allocations: 124.8 kB / 3.378 GB, free: 7.629 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000702/4.088, allocations: 1.04 MB / 3.379 GB, free: 6.367 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/4.088, allocations: 38.55 kB / 3.379 GB, free: 6.32 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/4.088, allocations: 0 / 3.379 GB, free: 6.32 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.0009259/4.089, allocations: 317.3 kB / 3.379 GB, free: 6.004 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.673e-05/4.089, allocations: 59.41 kB / 3.379 GB, free: 5.934 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/4.09, allocations: 258.1 kB / 3.379 GB, free: 5.672 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/4.09, allocations: 25.7 kB / 3.38 GB, free: 5.641 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/4.09, allocations: 168.3 kB / 3.38 GB, free: 5.473 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/4.09, allocations: 86.69 kB / 3.38 GB, free: 5.387 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/4.09, allocations: 0 / 3.38 GB, free: 5.387 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 4.621e-05/4.09, allocations: 342.8 kB / 3.38 GB, free: 5.043 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.541e-05/4.09, allocations: 68.39 kB / 3.38 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/4.09, allocations: 106 kB / 3.38 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/4.09, allocations: 131.5 kB / 3.38 GB, free: 4.727 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/4.09, allocations: 0 / 3.38 GB, free: 4.727 MB / 0.9323 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004488/4.091, allocations: 287.7 kB / 3.381 GB, free: 4.441 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/4.091, allocations: 8.781 kB / 3.381 GB, free: 4.434 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/4.091, allocations: 0 / 3.381 GB, free: 4.434 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/4.091, allocations: 0 / 3.381 GB, free: 4.434 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/4.091, allocations: 56 kB / 3.381 GB, free: 4.379 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/4.091, allocations: 7.938 kB / 3.381 GB, free: 4.371 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/4.091, allocations: 27.83 kB / 3.381 GB, free: 4.344 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/4.091, allocations: 19.98 kB / 3.381 GB, free: 4.324 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 5.504e-05/4.091, allocations: 104.9 kB / 3.381 GB, free: 4.215 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/4.091, allocations: 31.62 kB / 3.381 GB, free: 4.184 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005053/4.092, allocations: 294.5 kB / 3.381 GB, free: 3.891 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/4.092, allocations: 4 kB / 3.381 GB, free: 3.887 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/4.092, allocations: 3.906 kB / 3.381 GB, free: 3.883 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/4.092, allocations: 7.984 kB / 3.381 GB, free: 3.875 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000957/4.093, allocations: 0.7884 MB / 3.382 GB, free: 3.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/4.093, allocations: 8.031 kB / 3.382 GB, free: 3.012 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/4.093, allocations: 47.92 kB / 3.382 GB, free: 2.965 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/4.093, allocations: 7.984 kB / 3.382 GB, free: 2.957 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/4.093, allocations: 8 kB / 3.382 GB, free: 2.949 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/4.093, allocations: 4 kB / 3.382 GB, free: 2.945 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/4.093, allocations: 3.906 kB / 3.382 GB, free: 2.941 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005909/4.094, allocations: 0.6038 MB / 3.383 GB, free: 2.25 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008307/4.095, allocations: 1.146 MB / 3.384 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/4.095, allocations: 132.7 kB / 3.384 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/4.095, allocations: 0 / 3.384 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/4.095, allocations: 31.91 kB / 3.384 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/4.095, allocations: 23.89 kB / 3.384 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/4.095, allocations: 19.98 kB / 3.384 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0001255/4.095, allocations: 196.6 kB / 3.384 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00121/4.097, allocations: 343.6 kB / 3.384 GB, free: 268 kB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (ori.mExc,den1.d,den2.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.221/4.318, allocations: 1.378 MB / 3.386 GB, free: 324.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004249/4.318, allocations: 163.2 kB / 3.386 GB, free: 324.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/4.318, allocations: 7.5 kB / 3.386 GB, free: 324.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/4.318, allocations: 96.33 kB / 3.386 GB, free: 324.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009209/4.319, allocations: 143.7 kB / 3.386 GB, free: 324.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/4.32, allocations: 0.6607 MB / 3.387 GB, free: 323.9 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/4.321, allocations: 0.8779 MB / 3.388 GB, free: 323.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.182e-06/4.321, allocations: 0 / 3.388 GB, free: 323.2 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)