Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IDEAS_dev_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.003441/0.003441, allocations: 184.8 kB / 7.463 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.7582/0.7582, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.539/1.539, allocations: 221.3 MB / 395 MB, free: 10.12 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.001134/0.001134, allocations: 97 kB / 477.8 MB, free: 10.74 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.49/0.4911, allocations: 88.43 MB / 0.5529 GB, free: 88.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.6824, allocations: 82.3 MB / 0.6333 GB, free: 13.89 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.325/2.007, allocations: 422.6 MB / 1.046 GB, free: 210.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004335/2.008, allocations: 91.94 kB / 1.046 GB, free: 210.4 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.195/3.203, allocations: 337.2 MB / 1.375 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/3.203, allocations: 8 kB / 1.375 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007718/3.204, allocations: 142.4 kB / 1.375 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/3.207, allocations: 0.9734 MB / 1.376 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/3.207, allocations: 24 kB / 1.376 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/3.207, allocations: 51.31 kB / 1.377 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001366/3.209, allocations: 0.5233 MB / 1.377 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/3.21, allocations: 0.7168 MB / 1.378 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/3.21, allocations: 7.844 kB / 1.378 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/3.21, allocations: 4 kB / 1.378 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/3.21, allocations: 20 kB / 1.378 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00575/3.216, allocations: 3.739 MB / 1.381 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007708/3.217, allocations: 386.5 kB / 1.382 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004331/3.217, allocations: 261.4 kB / 1.382 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/3.218, allocations: 1.245 MB / 1.383 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000522/3.219, allocations: 294.9 kB / 1.384 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=63): time 4.689e-06/3.219, allocations: 0 / 1.384 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63): time 0.002244/3.221, allocations: 0.6325 MB / 1.384 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/3.221, allocations: 89.77 kB / 1.384 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/3.222, allocations: 0.6412 MB / 1.385 GB, free: 133 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.817e-05/3.222, allocations: 25.7 kB / 1.385 GB, free: 133 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/3.223, allocations: 338.2 kB / 1.385 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/3.223, allocations: 212.4 kB / 1.385 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/3.223, allocations: 0 / 1.385 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001045/3.223, allocations: 326 kB / 1.386 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/3.223, allocations: 181.3 kB / 1.386 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/3.224, allocations: 307.3 kB / 1.386 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009505/3.225, allocations: 265.6 kB / 1.386 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/3.225, allocations: 0 / 1.386 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001519/3.226, allocations: 0.6667 MB / 1.387 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002015/3.227, allocations: 0.8743 MB / 1.388 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/3.227, allocations: 7.938 kB / 1.388 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/3.227, allocations: 80.81 kB / 1.388 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/3.227, allocations: 119.8 kB / 1.388 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006754/3.228, allocations: 0.6885 MB / 1.389 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008709/3.229, allocations: 85.5 kB / 1.389 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.479e-05/3.229, allocations: 24 kB / 1.389 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/3.229, allocations: 4 kB / 1.389 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001285/3.23, allocations: 0.5566 MB / 1.389 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/3.23, allocations: 0 / 1.389 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002233/3.231, allocations: 88.53 kB / 1.39 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/3.231, allocations: 119.6 kB / 1.39 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005909/3.232, allocations: 0.6767 MB / 1.39 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008421/3.233, allocations: 70.83 kB / 1.39 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/3.233, allocations: 31.98 kB / 1.39 GB, free: 127.1 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.0002039/3.233, allocations: 116.7 kB / 1.391 GB, free: 127 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/3.233, allocations: 90.88 kB / 1.391 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002273/3.235, allocations: 0.9531 MB / 1.392 GB, free: 126 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/3.235, allocations: 4 kB / 1.392 GB, free: 126 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/3.235, allocations: 4 kB / 1.392 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001408/3.237, allocations: 0.8061 MB / 1.392 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00365/3.241, allocations: 1.718 MB / 1.394 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/3.241, allocations: 0 / 1.394 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/3.241, allocations: 111.8 kB / 1.394 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/3.242, allocations: 141.2 kB / 1.394 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/3.242, allocations: 12 kB / 1.394 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00099/3.243, allocations: 1.276 MB / 1.396 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/3.243, allocations: 0 / 1.396 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002084/3.245, allocations: 1.231 MB / 1.397 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002618/3.247, allocations: 2.005 MB / 1.399 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006104/3.248, allocations: 267.6 kB / 1.399 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/3.248, allocations: 3.984 kB / 1.399 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008019/3.249, allocations: 51.89 kB / 1.399 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/3.249, allocations: 36.59 kB / 1.399 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.374e-05/3.249, allocations: 39.89 kB / 1.399 GB, free: 118 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007449/3.25, allocations: 0.503 MB / 1.4 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003801/3.254, allocations: 0.7757 MB / 1.4 GB, free: 116.7 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.001944/3.256, allocations: 0.8349 MB / 1.401 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001891/3.258, allocations: 0.8774 MB / 1.402 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/3.258, allocations: 0 / 1.402 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006788/3.258, allocations: 355.1 kB / 1.402 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/3.261, allocations: 352.9 kB / 1.403 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/3.265, allocations: 1.603 MB / 1.404 GB, free: 112.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009903/3.266, allocations: 1.187 MB / 1.405 GB, free: 111.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.443e-06/3.266, allocations: 4 kB / 1.405 GB, free: 111.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)