Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.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.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter",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.002769/0.002768, allocations: 186.7 kB / 7.459 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7047/0.7047, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.636/1.636, allocations: 221.3 MB / 395 MB, free: 10.18 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.001145/0.001145, allocations: 95.36 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4885/0.4897, allocations: 88.43 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.696, allocations: 82.3 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.165/1.861, allocations: 374.4 MB / 0.9989 GB, free: 259.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/1.862, allocations: 86.64 kB / 0.999 GB, free: 259.6 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.3141/2.176, allocations: 171.7 MB / 1.167 GB, free: 86.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/2.176, allocations: 12 kB / 1.167 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.103e-05/2.176, allocations: 43.53 kB / 1.167 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0352/2.211, allocations: 14.67 MB / 1.181 GB, free: 71.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/2.211, allocations: 4 kB / 1.181 GB, free: 71.44 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/2.211, allocations: 12 kB / 1.181 GB, free: 71.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002194/2.212, allocations: 96.62 kB / 1.181 GB, free: 71.33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/2.212, allocations: 139.8 kB / 1.181 GB, free: 71.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/2.212, allocations: 0 / 1.181 GB, free: 71.19 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/2.212, allocations: 0 / 1.181 GB, free: 71.19 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/2.212, allocations: 8 kB / 1.181 GB, free: 71.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/2.213, allocations: 0.8112 MB / 1.182 GB, free: 70.29 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/2.213, allocations: 102.6 kB / 1.182 GB, free: 70.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.042e-05/2.213, allocations: 48.84 kB / 1.182 GB, free: 70.13 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/2.213, allocations: 332.4 kB / 1.183 GB, free: 69.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/2.213, allocations: 38.55 kB / 1.183 GB, free: 69.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/2.213, allocations: 0 / 1.183 GB, free: 69.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.0003845/2.214, allocations: 141.4 kB / 1.183 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/2.214, allocations: 51.41 kB / 1.183 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/2.214, allocations: 258 kB / 1.183 GB, free: 69.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/2.214, allocations: 25.7 kB / 1.183 GB, free: 69.19 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/2.214, allocations: 148.3 kB / 1.183 GB, free: 69.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/2.214, allocations: 39.39 kB / 1.183 GB, free: 69 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/2.214, allocations: 0 / 1.183 GB, free: 69 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/2.214, allocations: 338.8 kB / 1.184 GB, free: 68.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/2.214, allocations: 23.98 kB / 1.184 GB, free: 68.63 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.47e-05/2.214, allocations: 90.8 kB / 1.184 GB, free: 68.52 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/2.215, allocations: 44 kB / 1.184 GB, free: 68.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/2.215, allocations: 0 / 1.184 GB, free: 68.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002403/2.215, allocations: 141.2 kB / 1.184 GB, free: 68.33 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-05/2.215, allocations: 186 kB / 1.184 GB, free: 68.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/2.215, allocations: 3.984 kB / 1.184 GB, free: 68.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/2.215, allocations: 8 kB / 1.184 GB, free: 68.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/2.215, allocations: 31.92 kB / 1.184 GB, free: 68.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/2.215, allocations: 7.984 kB / 1.184 GB, free: 68.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/2.215, allocations: 27.88 kB / 1.184 GB, free: 68.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/2.215, allocations: 8 kB / 1.184 GB, free: 68.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.044e-06/2.215, allocations: 6.969 kB / 1.184 GB, free: 68.05 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001846/2.216, allocations: 75.89 kB / 1.184 GB, free: 67.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-06/2.216, allocations: 0 / 1.184 GB, free: 67.97 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-06/2.216, allocations: 4 kB / 1.184 GB, free: 67.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/2.216, allocations: 27.98 kB / 1.184 GB, free: 67.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-06/2.216, allocations: 0 / 1.184 GB, free: 67.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/2.216, allocations: 31.88 kB / 1.184 GB, free: 67.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/2.216, allocations: 8 kB / 1.184 GB, free: 67.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 7.157e-05/2.216, allocations: 112.9 kB / 1.184 GB, free: 67.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/2.216, allocations: 39.47 kB / 1.184 GB, free: 67.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/2.216, allocations: 177.3 kB / 1.185 GB, free: 67.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/2.216, allocations: 4 kB / 1.185 GB, free: 67.56 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/2.216, allocations: 0 / 1.185 GB, free: 67.56 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/2.216, allocations: 7.984 kB / 1.185 GB, free: 67.55 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/2.217, allocations: 0.5285 MB / 1.185 GB, free: 66.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/2.217, allocations: 4 kB / 1.185 GB, free: 66.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/2.217, allocations: 28.17 kB / 1.185 GB, free: 66.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/2.217, allocations: 8.094 kB / 1.185 GB, free: 66.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/2.217, allocations: 3.938 kB / 1.185 GB, free: 66.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/2.217, allocations: 4 kB / 1.185 GB, free: 66.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/2.217, allocations: 0 / 1.185 GB, free: 66.93 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003163/2.218, allocations: 321.8 kB / 1.185 GB, free: 66.57 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003924/2.218, allocations: 0.6974 MB / 1.186 GB, free: 65.83 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.758e-05/2.218, allocations: 120.7 kB / 1.186 GB, free: 65.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/2.218, allocations: 11.89 kB / 1.186 GB, free: 65.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/2.218, allocations: 23.97 kB / 1.186 GB, free: 65.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/2.218, allocations: 11.98 kB / 1.186 GB, free: 65.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/2.218, allocations: 4 kB / 1.186 GB, free: 65.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001403/2.219, allocations: 196.6 kB / 1.186 GB, free: 65.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001807/2.22, allocations: 203.7 kB / 1.187 GB, free: 65.25 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.000536/2.221, allocations: 287.4 kB / 1.187 GB, free: 64.96 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002472/2.221, allocations: 145.9 kB / 1.187 GB, free: 64.82 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/2.221, allocations: 8 kB / 1.187 GB, free: 64.81 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/2.221, allocations: 63.91 kB / 1.187 GB, free: 64.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/2.222, allocations: 121 kB / 1.187 GB, free: 64.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006506/2.223, allocations: 386.9 kB / 1.188 GB, free: 64.23 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/2.223, allocations: 0.8343 MB / 1.188 GB, free: 63.37 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/2.223, allocations: 0 / 1.188 GB, free: 63.37 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_HydraulicDiameter.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)