Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.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.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") translateModel(IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier") [: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.001726/0.001726, allocations: 179.5 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.5919/0.5919, allocations: 133.5 MB / 141.4 MB, free: 15.63 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.136/1.136, 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.0008956/0.0008955, allocations: 100.9 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.009e-06/5.099e-06, allocations: 0 / 0.5528 GB, free: 89.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1022, allocations: 82.3 MB / 0.6332 GB, free: 14.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4682/0.5704, allocations: 337.9 MB / 0.9632 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/0.5707, allocations: 84.02 kB / 0.9633 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.329/0.8997, allocations: 73.57 MB / 1.035 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.8998, allocations: 7.672 kB / 1.035 GB, free: 194.2 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004281/0.9002, allocations: 460.4 kB / 1.036 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.783e-05/0.9002, allocations: 7.812 kB / 1.036 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.9003, allocations: 23.5 kB / 1.036 GB, free: 193.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.9005, allocations: 249.8 kB / 1.036 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.9005, allocations: 3.906 kB / 1.036 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.9005, allocations: 7.781 kB / 1.036 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001203/0.9007, allocations: 55.2 kB / 1.036 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.9008, allocations: 106.5 kB / 1.036 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.9008, allocations: 3.938 kB / 1.036 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.9009, allocations: 0 / 1.036 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.9009, allocations: 3.812 kB / 1.036 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.9013, allocations: 0.4962 MB / 1.036 GB, free: 193 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.642e-05/0.9014, allocations: 72.61 kB / 1.037 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.9015, allocations: 41.38 kB / 1.037 GB, free: 192.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.9016, allocations: 335.9 kB / 1.037 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.9017, allocations: 34.5 kB / 1.037 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.9017, allocations: 0 / 1.037 GB, free: 192.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0002673/0.9019, allocations: 104.2 kB / 1.037 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.629e-05/0.902, allocations: 85.02 kB / 1.037 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.299e-05/0.9021, allocations: 140.8 kB / 1.037 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.9021, allocations: 25.7 kB / 1.037 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.9021, allocations: 111.7 kB / 1.037 GB, free: 192 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.9021, allocations: 23.55 kB / 1.037 GB, free: 192 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.9021, allocations: 0 / 1.037 GB, free: 192 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.927e-05/0.9022, allocations: 322.7 kB / 1.038 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.969e-05/0.9022, allocations: 19.84 kB / 1.038 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.9023, allocations: 60.77 kB / 1.038 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.9024, allocations: 35.53 kB / 1.038 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9024, allocations: 3.906 kB / 1.038 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001765/0.9026, allocations: 100.4 kB / 1.038 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/0.9026, allocations: 7.906 kB / 1.038 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.9026, allocations: 3.906 kB / 1.038 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.9026, allocations: 0 / 1.038 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.9027, allocations: 19.55 kB / 1.038 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.9027, allocations: 3.906 kB / 1.038 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.9029, allocations: 23.91 kB / 1.038 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.9029, allocations: 7.875 kB / 1.038 GB, free: 191.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 4.244e-05/0.9029, allocations: 108.9 kB / 1.038 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.903, allocations: 11.75 kB / 1.038 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.9032, allocations: 137.5 kB / 1.038 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.9033, allocations: 0 / 1.038 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.9033, allocations: 4 kB / 1.038 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9033, allocations: 0 / 1.038 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004076/0.9037, allocations: 431.4 kB / 1.039 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.9037, allocations: 0 / 1.039 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.487e-05/0.9038, allocations: 27.64 kB / 1.039 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.696e-06/0.9038, allocations: 3.906 kB / 1.039 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.9038, allocations: 0 / 1.039 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.9038, allocations: 3.906 kB / 1.039 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.9038, allocations: 3.984 kB / 1.039 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002184/0.9041, allocations: 362.7 kB / 1.039 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.9041, allocations: 96.81 kB / 1.039 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.9041, allocations: 3.984 kB / 1.039 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.9043, allocations: 23.56 kB / 1.039 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.9043, allocations: 11.95 kB / 1.039 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.9043, allocations: 3.938 kB / 1.039 GB, free: 190.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.366e-05/0.9044, allocations: 111.8 kB / 1.039 GB, free: 190.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003235/0.9047, allocations: 66.8 kB / 1.039 GB, free: 190.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003361/0.9051, allocations: 238 kB / 1.04 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.9052, allocations: 70.44 kB / 1.04 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.9052, allocations: 4.062 kB / 1.04 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.184e-05/0.9053, allocations: 46.77 kB / 1.04 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.9057, allocations: 49.58 kB / 1.04 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.906, allocations: 217.7 kB / 1.04 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.9062, allocations: 0.7454 MB / 1.041 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of SimCode: time 3e-07/0.9062, allocations: 0 / 1.041 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.00517/0.9113, allocations: 3.035 MB / 1.044 GB, free: 187.6 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.Validation.MassFlowRateMultiplier.pipe 2>&1)