Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.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.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet",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.003128/0.003129, allocations: 180.2 kB / 7.458 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.7017/0.7017, 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.526/1.526, allocations: 221.3 MB / 395 MB, free: 10.24 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.001051/0.001051, allocations: 98.97 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4523/0.4534, allocations: 88.42 MB / 0.5529 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.6446, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.125/1.769, allocations: 362.8 MB / 0.9876 GB, free: 263.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.769, allocations: 87.84 kB / 0.9876 GB, free: 263.3 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 3.144/4.913, allocations: 0.9549 GB / 1.943 GB, free: 74.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/4.913, allocations: 9.125 kB / 1.943 GB, free: 74.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004131/4.918, allocations: 0.6677 MB / 1.943 GB, free: 74.47 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005558/4.923, allocations: 1.462 MB / 1.945 GB, free: 73.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.342e-05/4.923, allocations: 32.62 kB / 1.945 GB, free: 73.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003512/4.924, allocations: 65.06 kB / 1.945 GB, free: 73.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002188/4.926, allocations: 0.8636 MB / 1.946 GB, free: 73.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002122/4.928, allocations: 1.046 MB / 1.947 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/4.928, allocations: 4.812 kB / 1.947 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.787e-05/4.928, allocations: 5.281 kB / 1.947 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/4.928, allocations: 25 kB / 1.947 GB, free: 72.48 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/4.939, allocations: 6.459 MB / 1.953 GB, free: 66.89 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/4.94, allocations: 0.8682 MB / 1.954 GB, free: 66.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006978/4.941, allocations: 0.5037 MB / 1.954 GB, free: 66.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/4.942, allocations: 2.259 MB / 1.956 GB, free: 63.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009139/4.943, allocations: 0.6466 MB / 1.957 GB, free: 63.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=100): time 4.658e-06/4.943, allocations: 0 / 1.957 GB, free: 63.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100): time 0.004648/4.948, allocations: 1.369 MB / 1.958 GB, free: 62.55 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.387e-05/4.948, allocations: 151.3 kB / 1.959 GB, free: 62.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/4.95, allocations: 0.8853 MB / 1.959 GB, free: 61.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/4.95, allocations: 29.08 kB / 1.959 GB, free: 61.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/4.951, allocations: 443.1 kB / 1.96 GB, free: 61.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004227/4.951, allocations: 313.4 kB / 1.96 GB, free: 61.27 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/4.951, allocations: 1.594 kB / 1.96 GB, free: 61.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000109/4.951, allocations: 350.5 kB / 1.961 GB, free: 60.93 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006851/4.952, allocations: 409.9 kB / 1.961 GB, free: 60.63 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006936/4.953, allocations: 0.6419 MB / 1.962 GB, free: 59.91 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/4.955, allocations: 0.7306 MB / 1.962 GB, free: 59.18 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/4.955, allocations: 3.938 kB / 1.962 GB, free: 59.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003936/4.959, allocations: 1.476 MB / 1.964 GB, free: 57.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004229/4.959, allocations: 1.609 MB / 1.965 GB, free: 56.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/4.959, allocations: 9.859 kB / 1.965 GB, free: 56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.664e-05/4.96, allocations: 12 kB / 1.965 GB, free: 55.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/4.961, allocations: 293.6 kB / 1.966 GB, free: 55.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.781e-05/4.961, allocations: 15.25 kB / 1.966 GB, free: 55.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/4.963, allocations: 214.4 kB / 1.966 GB, free: 55.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/4.963, allocations: 59.95 kB / 1.966 GB, free: 55.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/4.963, allocations: 5.906 kB / 1.966 GB, free: 55.45 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003484/4.967, allocations: 1.283 MB / 1.967 GB, free: 54.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/4.967, allocations: 10.28 kB / 1.967 GB, free: 54.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/4.967, allocations: 11.98 kB / 1.967 GB, free: 54.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/4.968, allocations: 294.6 kB / 1.967 GB, free: 53.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/4.968, allocations: 11.94 kB / 1.967 GB, free: 53.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/4.97, allocations: 207.2 kB / 1.968 GB, free: 53.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/4.971, allocations: 62.59 kB / 1.968 GB, free: 53.61 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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.0004142/4.971, allocations: 232.8 kB / 1.968 GB, free: 53.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005868/4.972, allocations: 154.1 kB / 1.968 GB, free: 53.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005362/4.977, allocations: 2.101 MB / 1.97 GB, free: 51.12 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.552e-05/4.977, allocations: 19.89 kB / 1.97 GB, free: 51.11 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/4.977, allocations: 4 kB / 1.97 GB, free: 51.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/4.977, allocations: 11.97 kB / 1.97 GB, free: 51.09 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008127/4.985, allocations: 3.208 MB / 1.973 GB, free: 47.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/4.985, allocations: 3.938 kB / 1.973 GB, free: 47.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/4.986, allocations: 248.5 kB / 1.974 GB, free: 47.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.045e-05/4.987, allocations: 4 kB / 1.974 GB, free: 47.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/4.987, allocations: 31.97 kB / 1.974 GB, free: 47.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/4.987, allocations: 8 kB / 1.974 GB, free: 47.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/4.987, allocations: 0 / 1.974 GB, free: 47.56 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005388/4.992, allocations: 2.671 MB / 1.976 GB, free: 44.82 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006295/4.998, allocations: 3.924 MB / 1.98 GB, free: 40.81 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/5, allocations: 410.5 kB / 1.98 GB, free: 40.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005822/5, allocations: 11.98 kB / 1.98 GB, free: 40.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/5.002, allocations: 168.5 kB / 1.981 GB, free: 40.22 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/5.002, allocations: 72.81 kB / 1.981 GB, free: 40.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/5.002, allocations: 56.91 kB / 1.981 GB, free: 40.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001538/5.004, allocations: 0.6716 MB / 1.981 GB, free: 39.42 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005893/5.01, allocations: 1.138 MB / 1.982 GB, free: 38.29 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.002619/5.013, allocations: 0.9859 MB / 1.983 GB, free: 37.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003179/5.016, allocations: 1.929 MB / 1.985 GB, free: 35.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/5.016, allocations: 0 / 1.985 GB, free: 35.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/5.017, allocations: 0.8155 MB / 1.986 GB, free: 34.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/5.02, allocations: 0.4975 MB / 1.987 GB, free: 34.16 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006029/5.026, allocations: 2.491 MB / 1.989 GB, free: 31.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/5.028, allocations: 1.502 MB / 1.99 GB, free: 30.12 MB / 0.6823 GB Notification: Performance of SimCode: time 1.543e-06/5.028, allocations: 4 kB / 1.99 GB, free: 30.12 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)