Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.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: translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") [: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.00187/0.001869, allocations: 178.6 kB / 7.46 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5898/0.5898, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.14/1.14, allocations: 221.3 MB / 395 MB, free: 10.29 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.0008172/0.0008172, allocations: 97.25 kB / 477.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.842e-06/6.963e-06, allocations: 3 kB / 0.5528 GB, free: 88.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7517/0.8673, allocations: 383 MB / 1.007 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.8676, allocations: 94.88 kB / 1.007 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 7.234/8.101, allocations: 2.793 GB / 3.801 GB, free: 2.199 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0005751/8.102, allocations: 174.8 kB / 3.801 GB, free: 2.031 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.4264/8.528, allocations: 5.938 MB / 3.807 GB, free: 78.02 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/8.528, allocations: 7.594 kB / 3.807 GB, free: 78.02 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/8.531, allocations: 0.7811 MB / 3.807 GB, free: 77.64 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1421/8.674, allocations: 60.93 MB / 3.867 GB, free: 74.88 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/8.674, allocations: 130.2 kB / 3.867 GB, free: 74.88 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000418/8.674, allocations: 252.8 kB / 3.867 GB, free: 74.88 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004497/8.679, allocations: 2.541 MB / 3.87 GB, free: 74.85 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004993/8.684, allocations: 3.621 MB / 3.873 GB, free: 74.09 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.945e-05/8.684, allocations: 14.19 kB / 3.873 GB, free: 74.09 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002708/8.684, allocations: 8.562 kB / 3.873 GB, free: 74.09 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.633e-05/8.684, allocations: 119.8 kB / 3.873 GB, free: 74.09 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02593/8.71, allocations: 26.04 MB / 3.899 GB, free: 57.99 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/8.711, allocations: 1.086 MB / 3.9 GB, free: 57.96 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/8.713, allocations: 1.099 MB / 3.901 GB, free: 57.94 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002097/8.715, allocations: 3.943 MB / 3.905 GB, free: 53.54 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/8.715, allocations: 59.34 kB / 3.905 GB, free: 53.49 MB / 0.823 GB Notification: Performance of pre-optimization done (n=225): time 5.25e-06/8.715, allocations: 0 / 3.905 GB, free: 53.49 MB / 0.823 GB Notification: Performance of matching and sorting (n=225): time 0.007047/8.722, allocations: 2.973 MB / 3.908 GB, free: 53.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/8.722, allocations: 77.06 kB / 3.908 GB, free: 53.04 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004587/8.727, allocations: 3.307 MB / 3.911 GB, free: 52.73 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002936/8.727, allocations: 31.52 kB / 3.911 GB, free: 52.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001104/8.728, allocations: 1.712 MB / 3.913 GB, free: 51.81 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009514/8.729, allocations: 0.7502 MB / 3.913 GB, free: 51.31 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/8.729, allocations: 0 / 3.913 GB, free: 51.31 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001194/8.729, allocations: 409.6 kB / 3.914 GB, free: 51 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/8.73, allocations: 0.7393 MB / 3.915 GB, free: 50.99 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/8.732, allocations: 1.702 MB / 3.916 GB, free: 49.84 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003465/8.735, allocations: 1.423 MB / 3.918 GB, free: 49.81 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/8.735, allocations: 5.375 kB / 3.918 GB, free: 49.81 MB / 0.823 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.007891/8.743, allocations: 3.532 MB / 3.921 GB, free: 49.43 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002402/8.746, allocations: 10.31 MB / 3.931 GB, free: 54.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/8.746, allocations: 22.38 kB / 3.931 GB, free: 54.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007781/8.746, allocations: 380.1 kB / 3.932 GB, free: 54.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/8.748, allocations: 0.5116 MB / 3.932 GB, free: 54.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/8.75, allocations: 2.848 MB / 3.935 GB, free: 52.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005119/8.755, allocations: 0.4898 MB / 3.935 GB, free: 52.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002542/8.756, allocations: 130.5 kB / 3.935 GB, free: 52.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/8.756, allocations: 3.031 kB / 3.935 GB, free: 52.4 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006383/8.762, allocations: 2.835 MB / 3.938 GB, free: 52.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-05/8.762, allocations: 22.53 kB / 3.938 GB, free: 52.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009933/8.763, allocations: 394.5 kB / 3.939 GB, free: 52.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/8.765, allocations: 0.5105 MB / 3.939 GB, free: 52.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008162/8.773, allocations: 7.317 MB / 3.946 GB, free: 47.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005032/8.778, allocations: 456.8 kB / 3.947 GB, free: 47.01 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004197/8.778, allocations: 128.5 kB / 3.947 GB, free: 47.01 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 287 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 14,1 11,1 14,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008744/8.779, allocations: 186.6 kB / 3.947 GB, free: 46.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001627/8.781, allocations: 0.5026 MB / 3.947 GB, free: 46.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009503/8.79, allocations: 4.138 MB / 3.951 GB, free: 46.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.863e-05/8.791, allocations: 43.91 kB / 3.952 GB, free: 46.36 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/8.791, allocations: 3.125 kB / 3.952 GB, free: 46.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005331/8.796, allocations: 2.725 MB / 3.954 GB, free: 46.17 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/8.813, allocations: 8.176 MB / 3.962 GB, free: 44.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/8.813, allocations: 0 / 3.962 GB, free: 44.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/8.814, allocations: 387.6 kB / 3.963 GB, free: 44.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/8.815, allocations: 223.7 kB / 3.963 GB, free: 44.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/8.815, allocations: 37.45 kB / 3.963 GB, free: 44.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/8.817, allocations: 2.534 MB / 3.965 GB, free: 42.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/8.817, allocations: 5.375 kB / 3.965 GB, free: 42.58 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008785/8.826, allocations: 4.829 MB / 3.97 GB, free: 41.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003434/8.829, allocations: 0.9681 MB / 3.971 GB, free: 41.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001612/8.831, allocations: 13.34 kB / 3.971 GB, free: 41.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004618/8.835, allocations: 393.1 kB / 3.971 GB, free: 41.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/8.836, allocations: 140.6 kB / 3.971 GB, free: 41.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003133/8.836, allocations: 111.8 kB / 3.972 GB, free: 41.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.005326/8.841, allocations: 2.456 MB / 3.974 GB, free: 41.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01421/8.855, allocations: 3.415 MB / 3.977 GB, free: 40.81 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006689/8.862, allocations: 3.434 MB / 3.981 GB, free: 39.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00737/8.87, allocations: 4.251 MB / 3.985 GB, free: 39.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/8.87, allocations: 4.328 kB / 3.985 GB, free: 39.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002083/8.872, allocations: 1.257 MB / 3.986 GB, free: 39.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01397/8.886, allocations: 2.504 MB / 3.988 GB, free: 39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01825/8.904, allocations: 7.332 MB / 3.996 GB, free: 37.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005125/8.909, allocations: 3.466 MB / 3.999 GB, free: 36.34 MB / 0.8386 GB Notification: Performance of SimCode: time 1.242e-06/8.909, allocations: 0 / 3.999 GB, free: 36.34 MB / 0.8386 GB Notification: Performance of Templates: time 0.1748/9.084, allocations: 122.4 MB / 4.119 GB, free: 25.69 MB / 0.8386 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)