Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4",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.00438/0.004381, allocations: 183.6 kB / 7.46 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7107/0.7107, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.674/1.674, allocations: 221.3 MB / 395 MB, free: 10.19 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.001148/0.001148, allocations: 98.66 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4974/0.4986, allocations: 88.43 MB / 0.5529 GB, free: 88.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.6959, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.437/5.133, allocations: 1.914 GB / 2.547 GB, free: 30.99 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/5.133, allocations: 79.95 kB / 2.547 GB, free: 30.91 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 5.186/10.32, allocations: 1.473 GB / 4.02 GB, free: 75.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/10.32, allocations: 11 kB / 4.02 GB, free: 75.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003292/10.32, allocations: 0.5414 MB / 4.02 GB, free: 75.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002853/10.32, allocations: 1.241 MB / 4.022 GB, free: 75.35 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008969/10.33, allocations: 266.1 kB / 4.022 GB, free: 75.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/10.33, allocations: 65.62 kB / 4.022 GB, free: 75.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001275/10.33, allocations: 0.7267 MB / 4.023 GB, free: 75.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/10.33, allocations: 1.069 MB / 4.024 GB, free: 75.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/10.33, allocations: 0 / 4.024 GB, free: 75.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.034e-05/10.33, allocations: 3.875 kB / 4.024 GB, free: 75.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-05/10.33, allocations: 47.39 kB / 4.024 GB, free: 75.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007761/10.34, allocations: 6.547 MB / 4.03 GB, free: 70.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007208/10.34, allocations: 464.2 kB / 4.031 GB, free: 70.83 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/10.34, allocations: 187.8 kB / 4.031 GB, free: 70.82 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004864/10.34, allocations: 367.5 kB / 4.031 GB, free: 70.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/10.34, allocations: 45.72 kB / 4.031 GB, free: 70.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 3.727e-06/10.34, allocations: 0 / 4.031 GB, free: 70.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001509/10.34, allocations: 0.5112 MB / 4.032 GB, free: 70.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/10.34, allocations: 61.3 kB / 4.032 GB, free: 70.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/10.34, allocations: 0.8358 MB / 4.032 GB, free: 70.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/10.34, allocations: 25.7 kB / 4.032 GB, free: 70.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000261/10.34, allocations: 0.5173 MB / 4.033 GB, free: 69.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.583e-05/10.34, allocations: 114.5 kB / 4.033 GB, free: 69.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/10.34, allocations: 2.438 kB / 4.033 GB, free: 69.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.144e-05/10.34, allocations: 330.7 kB / 4.033 GB, free: 69.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/10.34, allocations: 197.1 kB / 4.034 GB, free: 69.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/10.34, allocations: 0.5611 MB / 4.034 GB, free: 68.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/10.34, allocations: 310.5 kB / 4.034 GB, free: 68.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/10.34, allocations: 3.906 kB / 4.034 GB, free: 68.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001196/10.34, allocations: 0.7592 MB / 4.035 GB, free: 68.82 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007331/10.34, allocations: 4.087 MB / 4.039 GB, free: 64.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/10.34, allocations: 14.31 kB / 4.039 GB, free: 64.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/10.34, allocations: 15.91 kB / 4.039 GB, free: 64.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009174/10.35, allocations: 220.8 kB / 4.039 GB, free: 64.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/10.35, allocations: 23.77 kB / 4.039 GB, free: 64.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/10.35, allocations: 186 kB / 4.04 GB, free: 64.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.583e-05/10.35, allocations: 44.12 kB / 4.04 GB, free: 64.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-06/10.35, allocations: 3.656 kB / 4.04 GB, free: 64.53 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001008/10.35, allocations: 0.6252 MB / 4.04 GB, free: 64.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/10.35, allocations: 11.91 kB / 4.04 GB, free: 64.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/10.35, allocations: 18.69 kB / 4.04 GB, free: 64.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008629/10.35, allocations: 214.3 kB / 4.041 GB, free: 64.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/10.35, allocations: 22.25 kB / 4.041 GB, free: 64.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/10.35, allocations: 154.9 kB / 4.041 GB, free: 64.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/10.35, allocations: 46.78 kB / 4.041 GB, free: 64.49 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0001836/10.35, allocations: 130.4 kB / 4.041 GB, free: 64.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/10.35, allocations: 110.1 kB / 4.041 GB, free: 64.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/10.35, allocations: 0.4968 MB / 4.041 GB, free: 64.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.85e-06/10.35, allocations: 3.75 kB / 4.041 GB, free: 64.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/10.35, allocations: 0 / 4.041 GB, free: 64.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/10.35, allocations: 0 / 4.041 GB, free: 64.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/10.35, allocations: 1.686 MB / 4.043 GB, free: 63.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/10.35, allocations: 2.812 kB / 4.043 GB, free: 63.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/10.36, allocations: 109.2 kB / 4.043 GB, free: 63.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/10.36, allocations: 3.875 kB / 4.043 GB, free: 63.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/10.36, allocations: 17.67 kB / 4.043 GB, free: 63.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/10.36, allocations: 6.25 kB / 4.043 GB, free: 63.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/10.36, allocations: 3.906 kB / 4.043 GB, free: 63.76 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008184/10.36, allocations: 0.8477 MB / 4.044 GB, free: 63.2 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001553/10.36, allocations: 1.439 MB / 4.045 GB, free: 62.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004238/10.36, allocations: 258 kB / 4.046 GB, free: 62.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002566/10.36, allocations: 10.19 kB / 4.046 GB, free: 62.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/10.36, allocations: 110.9 kB / 4.046 GB, free: 62.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/10.36, allocations: 36.16 kB / 4.046 GB, free: 62.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/10.36, allocations: 21.64 kB / 4.046 GB, free: 62.08 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0007759/10.36, allocations: 0.6214 MB / 4.046 GB, free: 61.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005431/10.37, allocations: 1.632 MB / 4.048 GB, free: 61.88 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.004398/10.37, allocations: 3.523 MB / 4.052 GB, free: 60.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001553/10.37, allocations: 0.8224 MB / 4.052 GB, free: 60.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/10.37, allocations: 0 / 4.052 GB, free: 60.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002617/10.37, allocations: 184.9 kB / 4.052 GB, free: 60.42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/10.37, allocations: 377.2 kB / 4.053 GB, free: 60.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004845/10.38, allocations: 1.676 MB / 4.054 GB, free: 59.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008962/10.38, allocations: 1.31 MB / 4.056 GB, free: 59.14 MB / 0.7136 GB Notification: Performance of SimCode: time 9.31e-07/10.38, allocations: 0 / 4.056 GB, free: 59.14 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)