Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume",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.005537/0.005537, allocations: 179.3 kB / 7.457 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7051/0.7051, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 221.3 MB / 395 MB, free: 10.17 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 93.61 kB / 477.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4344/0.4355, allocations: 88.42 MB / 0.5529 GB, free: 89.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.6175, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.347/1.965, allocations: 422.6 MB / 1.046 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/1.965, allocations: 87.39 kB / 1.046 GB, free: 192.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 1.108/3.073, allocations: 337.2 MB / 1.375 GB, free: 134 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/3.073, allocations: 8 kB / 1.375 GB, free: 134 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003219/3.073, allocations: 134.4 kB / 1.375 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/3.075, allocations: 0.9746 MB / 1.376 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.749e-05/3.075, allocations: 31.98 kB / 1.376 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.496e-05/3.075, allocations: 44 kB / 1.377 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009091/3.076, allocations: 0.5311 MB / 1.377 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/3.078, allocations: 0.7094 MB / 1.378 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/3.078, allocations: 11.91 kB / 1.378 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/3.078, allocations: 3.984 kB / 1.378 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/3.078, allocations: 20 kB / 1.378 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004843/3.082, allocations: 3.74 MB / 1.381 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/3.083, allocations: 398.8 kB / 1.382 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/3.084, allocations: 254.3 kB / 1.382 GB, free: 127 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009355/3.084, allocations: 1.242 MB / 1.383 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004829/3.085, allocations: 294.9 kB / 1.384 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=63): time 5.1e-06/3.085, allocations: 0 / 1.384 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63): time 0.001949/3.087, allocations: 0.6411 MB / 1.384 GB, free: 124.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/3.087, allocations: 81.77 kB / 1.384 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000861/3.088, allocations: 0.6451 MB / 1.385 GB, free: 123.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/3.088, allocations: 25.7 kB / 1.385 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/3.088, allocations: 331.9 kB / 1.385 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/3.088, allocations: 208.9 kB / 1.385 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/3.088, allocations: 0 / 1.385 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001037/3.089, allocations: 330 kB / 1.386 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/3.089, allocations: 181.3 kB / 1.386 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/3.089, allocations: 307.5 kB / 1.386 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000794/3.09, allocations: 255.1 kB / 1.386 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.357e-05/3.09, allocations: 7.984 kB / 1.386 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001503/3.092, allocations: 0.6635 MB / 1.387 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004974/3.092, allocations: 0.8772 MB / 1.388 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/3.092, allocations: 0 / 1.388 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004483/3.093, allocations: 96.69 kB / 1.388 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/3.093, allocations: 123.8 kB / 1.388 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007413/3.094, allocations: 0.6771 MB / 1.389 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008926/3.095, allocations: 87.45 kB / 1.389 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.651e-05/3.095, allocations: 27.98 kB / 1.389 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/3.095, allocations: 4 kB / 1.389 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001269/3.096, allocations: 0.546 MB / 1.389 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/3.096, allocations: 7.938 kB / 1.389 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002256/3.096, allocations: 81.5 kB / 1.39 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/3.097, allocations: 115.8 kB / 1.39 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005458/3.097, allocations: 0.6889 MB / 1.39 GB, free: 118 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007296/3.098, allocations: 67.55 kB / 1.39 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/3.098, allocations: 27.98 kB / 1.39 GB, free: 117.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001871/3.098, allocations: 117 kB / 1.391 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/3.098, allocations: 97.31 kB / 1.391 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/3.1, allocations: 0.9398 MB / 1.392 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/3.1, allocations: 15.98 kB / 1.392 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/3.1, allocations: 0 / 1.392 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001208/3.102, allocations: 0.8061 MB / 1.392 GB, free: 115.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/3.105, allocations: 1.714 MB / 1.394 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/3.105, allocations: 4 kB / 1.394 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000508/3.105, allocations: 103.9 kB / 1.394 GB, free: 114 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004177/3.106, allocations: 153.5 kB / 1.394 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/3.106, allocations: 11.98 kB / 1.394 GB, free: 113.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009086/3.107, allocations: 1.268 MB / 1.396 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/3.107, allocations: 7.938 kB / 1.396 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001916/3.109, allocations: 1.231 MB / 1.397 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002592/3.111, allocations: 1.994 MB / 1.399 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/3.112, allocations: 271.6 kB / 1.399 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/3.112, allocations: 4 kB / 1.399 GB, free: 108.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007632/3.113, allocations: 51.75 kB / 1.399 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/3.113, allocations: 48.53 kB / 1.399 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/3.113, allocations: 31.89 kB / 1.399 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007494/3.114, allocations: 0.5069 MB / 1.4 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003598/3.117, allocations: 0.7805 MB / 1.4 GB, free: 107.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00192/3.119, allocations: 0.8255 MB / 1.401 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001742/3.121, allocations: 0.878 MB / 1.402 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/3.121, allocations: 0 / 1.402 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006265/3.122, allocations: 354.1 kB / 1.402 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/3.124, allocations: 351.2 kB / 1.403 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/3.128, allocations: 1.61 MB / 1.404 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009677/3.129, allocations: 1.194 MB / 1.405 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/3.129, allocations: 0 / 1.405 GB, free: 102.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)