Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.004161/0.004162, allocations: 183.7 kB / 7.462 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.7164/0.7164, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.555/1.555, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009461/0.0009461, allocations: 106.8 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4334/0.4344, allocations: 88.42 MB / 0.5529 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.6376, allocations: 82.31 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.303/4.94, allocations: 1.836 GB / 2.469 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/4.941, allocations: 79.95 kB / 2.469 GB, free: 128.5 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 4.017/8.958, allocations: 1.02 GB / 3.489 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/8.958, allocations: 7.469 kB / 3.489 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00519/8.963, allocations: 0.7701 MB / 3.49 GB, free: 107.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005362/8.969, allocations: 1.065 MB / 3.491 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.078e-05/8.969, allocations: 26.09 kB / 3.491 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004831/8.969, allocations: 47.28 kB / 3.491 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002457/8.972, allocations: 0.8849 MB / 3.492 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/8.975, allocations: 1.165 MB / 3.493 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/8.975, allocations: 0 / 3.493 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/8.975, allocations: 3.75 kB / 3.493 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.087e-05/8.975, allocations: 40.97 kB / 3.493 GB, free: 106.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01172/8.987, allocations: 5.146 MB / 3.498 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/8.989, allocations: 0.8823 MB / 3.499 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/8.991, allocations: 495.9 kB / 3.5 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/8.992, allocations: 0.953 MB / 3.5 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/8.994, allocations: 0.5864 MB / 3.501 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 5.43e-06/8.994, allocations: 0 / 3.501 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.004403/8.998, allocations: 1.153 MB / 3.502 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/8.998, allocations: 60.09 kB / 3.502 GB, free: 103 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/9.001, allocations: 0.8534 MB / 3.503 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001907/9.001, allocations: 30.61 kB / 3.503 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007093/9.002, allocations: 408.1 kB / 3.503 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000521/9.002, allocations: 269.4 kB / 3.504 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-05/9.002, allocations: 3.391 kB / 3.504 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001521/9.002, allocations: 338.4 kB / 3.504 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/9.003, allocations: 428.5 kB / 3.504 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/9.005, allocations: 0.7042 MB / 3.505 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/9.006, allocations: 478.9 kB / 3.506 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/9.006, allocations: 2.125 kB / 3.506 GB, free: 101.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003485/9.009, allocations: 1.191 MB / 3.507 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/9.01, allocations: 8.594 kB / 3.507 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/9.01, allocations: 6.25 kB / 3.507 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-05/9.01, allocations: 12.81 kB / 3.507 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/9.012, allocations: 333 kB / 3.507 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.28e-05/9.012, allocations: 18.14 kB / 3.507 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/9.014, allocations: 192.4 kB / 3.507 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/9.014, allocations: 64.03 kB / 3.507 GB, free: 101.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.000318/9.014, allocations: 146.8 kB / 3.507 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004297/9.015, allocations: 123 kB / 3.508 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002885/9.017, allocations: 1.211 MB / 3.509 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/9.017, allocations: 6.844 kB / 3.509 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/9.018, allocations: 3.906 kB / 3.509 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/9.018, allocations: 3.797 kB / 3.509 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007081/9.025, allocations: 2.618 MB / 3.511 GB, free: 99.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/9.025, allocations: 3.844 kB / 3.511 GB, free: 99.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/9.027, allocations: 263.1 kB / 3.512 GB, free: 99.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.675e-05/9.027, allocations: 14.22 kB / 3.512 GB, free: 99.92 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/9.027, allocations: 24.78 kB / 3.512 GB, free: 99.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-05/9.027, allocations: 11.12 kB / 3.512 GB, free: 99.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/9.027, allocations: 7.719 kB / 3.512 GB, free: 99.91 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004905/9.032, allocations: 2.161 MB / 3.514 GB, free: 98.76 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005921/9.038, allocations: 3.322 MB / 3.517 GB, free: 96.88 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/9.039, allocations: 332.2 kB / 3.517 GB, free: 96.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004477/9.039, allocations: 9.562 kB / 3.517 GB, free: 96.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/9.041, allocations: 138.8 kB / 3.517 GB, free: 96.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/9.041, allocations: 59.86 kB / 3.518 GB, free: 96.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/9.041, allocations: 44.55 kB / 3.518 GB, free: 96.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001642/9.043, allocations: 0.6398 MB / 3.518 GB, free: 96.36 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003831/9.047, allocations: 0.6696 MB / 3.519 GB, free: 96.02 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.005523/9.052, allocations: 2.129 MB / 3.521 GB, free: 95.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002695/9.055, allocations: 1.045 MB / 3.522 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/9.055, allocations: 0 / 3.522 GB, free: 95.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/9.056, allocations: 0.531 MB / 3.522 GB, free: 94.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00349/9.06, allocations: 395.8 kB / 3.523 GB, free: 94.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008264/9.068, allocations: 2.071 MB / 3.525 GB, free: 94.04 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002877/9.071, allocations: 1.364 MB / 3.526 GB, free: 93.29 MB / 0.6823 GB Notification: Performance of SimCode: time 3.246e-06/9.071, allocations: 0.875 kB / 3.526 GB, free: 93.29 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)