Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",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.004088/0.004088, allocations: 185.6 kB / 7.459 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7873/0.7873, allocations: 133.5 MB / 141.4 MB, free: 15.72 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.707/1.707, allocations: 221.3 MB / 395 MB, free: 10.22 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.001178/0.001177, allocations: 100.8 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.49/0.4913, allocations: 88.43 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.6901, allocations: 82.31 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/1.982, allocations: 390.3 MB / 1.015 GB, free: 244.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.983, allocations: 102.1 kB / 1.015 GB, free: 244.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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 3.951/5.933, allocations: 1.125 GB / 2.14 GB, free: 53.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/5.933, allocations: 10.09 kB / 2.14 GB, free: 53.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009532/5.934, allocations: 270.3 kB / 2.14 GB, free: 53.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004158/5.938, allocations: 1.672 MB / 2.142 GB, free: 52.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/5.938, allocations: 40.94 kB / 2.142 GB, free: 52.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/5.939, allocations: 91.28 kB / 2.142 GB, free: 52.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001646/5.94, allocations: 0.9179 MB / 2.143 GB, free: 52.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/5.942, allocations: 0.9317 MB / 2.144 GB, free: 52.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/5.942, allocations: 0 / 2.144 GB, free: 52.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.454e-05/5.942, allocations: 0 / 2.144 GB, free: 52.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/5.942, allocations: 28.56 kB / 2.144 GB, free: 52.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009563/5.952, allocations: 5.997 MB / 2.149 GB, free: 50.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009039/5.953, allocations: 0.5681 MB / 2.15 GB, free: 50.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/5.953, allocations: 367.6 kB / 2.15 GB, free: 50.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000436/5.953, allocations: 0.506 MB / 2.151 GB, free: 49.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/5.953, allocations: 38.41 kB / 2.151 GB, free: 49.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 3.156e-06/5.953, allocations: 0 / 2.151 GB, free: 49.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.002051/5.956, allocations: 0.8615 MB / 2.152 GB, free: 49.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/5.956, allocations: 61.47 kB / 2.152 GB, free: 49.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/5.957, allocations: 1.321 MB / 2.153 GB, free: 49.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001703/5.958, allocations: 29.48 kB / 2.153 GB, free: 48.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/5.958, allocations: 0.5949 MB / 2.154 GB, free: 48.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/5.958, allocations: 199.3 kB / 2.154 GB, free: 48.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/5.958, allocations: 0 / 2.154 GB, free: 48.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001126/5.959, allocations: 347.8 kB / 2.154 GB, free: 48.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006419/5.959, allocations: 397.1 kB / 2.155 GB, free: 48.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008116/5.96, allocations: 0.7241 MB / 2.155 GB, free: 47.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009848/5.961, allocations: 0.5025 MB / 2.156 GB, free: 47.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/5.961, allocations: 0 / 2.156 GB, free: 47.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002417/5.963, allocations: 1.272 MB / 2.157 GB, free: 47.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002667/5.964, allocations: 0.9127 MB / 2.158 GB, free: 46.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/5.964, allocations: 2.188 kB / 2.158 GB, free: 46.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.154e-05/5.964, allocations: 9.281 kB / 2.158 GB, free: 46.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/5.965, allocations: 288.9 kB / 2.158 GB, free: 46.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/5.965, allocations: 6.594 kB / 2.158 GB, free: 46.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/5.967, allocations: 193 kB / 2.158 GB, free: 46.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/5.967, allocations: 62.83 kB / 2.158 GB, free: 46.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/5.967, allocations: 3.344 kB / 2.158 GB, free: 46.71 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001696/5.969, allocations: 1.009 MB / 2.159 GB, free: 46.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/5.969, allocations: 1.594 kB / 2.159 GB, free: 46.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/5.969, allocations: 7.688 kB / 2.159 GB, free: 46.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/5.97, allocations: 277.8 kB / 2.16 GB, free: 46.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/5.97, allocations: 9.281 kB / 2.16 GB, free: 46.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/5.972, allocations: 164.1 kB / 2.16 GB, free: 46.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/5.973, allocations: 61.28 kB / 2.16 GB, free: 46.65 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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.0002782/5.973, allocations: 135.7 kB / 2.16 GB, free: 46.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/5.973, allocations: 178.5 kB / 2.16 GB, free: 46.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/5.976, allocations: 1.051 MB / 2.161 GB, free: 46.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/5.976, allocations: 7.406 kB / 2.161 GB, free: 46.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/5.976, allocations: 3.406 kB / 2.161 GB, free: 46.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/5.976, allocations: 10.36 kB / 2.161 GB, free: 46.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/5.979, allocations: 2.222 MB / 2.163 GB, free: 45.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/5.979, allocations: 3.375 kB / 2.163 GB, free: 45.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006346/5.98, allocations: 139.7 kB / 2.164 GB, free: 45.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/5.98, allocations: 3.844 kB / 2.164 GB, free: 45.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/5.98, allocations: 17.11 kB / 2.164 GB, free: 45.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/5.98, allocations: 3.094 kB / 2.164 GB, free: 45.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/5.98, allocations: 2.438 kB / 2.164 GB, free: 45.97 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001429/5.981, allocations: 1.1 MB / 2.165 GB, free: 45.51 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001577/5.983, allocations: 1.588 MB / 2.166 GB, free: 44.69 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008214/5.984, allocations: 360 kB / 2.167 GB, free: 44.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/5.984, allocations: 3.609 kB / 2.167 GB, free: 44.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/5.985, allocations: 102.4 kB / 2.167 GB, free: 44.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/5.985, allocations: 45.39 kB / 2.167 GB, free: 44.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.016e-05/5.985, allocations: 32.53 kB / 2.167 GB, free: 44.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001306/5.987, allocations: 0.9627 MB / 2.168 GB, free: 44.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004761/5.991, allocations: 1.259 MB / 2.169 GB, free: 44.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001706/5.993, allocations: 0.9976 MB / 2.17 GB, free: 43.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002651/5.996, allocations: 1.581 MB / 2.171 GB, free: 43.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/5.996, allocations: 1.875 kB / 2.171 GB, free: 43.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004723/5.996, allocations: 386 kB / 2.172 GB, free: 43.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/6.001, allocations: 0.8859 MB / 2.173 GB, free: 43.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004803/6.006, allocations: 2.28 MB / 2.175 GB, free: 43.19 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/6.007, allocations: 1.624 MB / 2.177 GB, free: 42.45 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/6.007, allocations: 0 / 2.177 GB, free: 42.45 MB / 0.698 GB (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > IDEAS_IDEAS.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)