Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial",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 3.2.3+maint.om/package.mo): time 0.003756/0.003756, allocations: 177.8 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.137/1.137, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008911/0.0008911, allocations: 89.81 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.0596/0.0596, allocations: 10.87 MB / 319.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01583/0.01583, allocations: 4.144 MB / 374.1 MB, free: 79.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09437/0.1102, allocations: 57.61 MB / 431.8 MB, free: 21.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.2113, allocations: 50.77 MB / 482.5 MB, free: 2.98 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2206/0.4319, allocations: 78.05 MB / 0.5474 GB, free: 9.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.4322, allocations: 68.47 kB / 0.5475 GB, free: 9.594 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002174/0.4344, allocations: 0.7846 MB / 0.5483 GB, free: 8.793 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.4344, allocations: 8.938 kB / 0.5483 GB, free: 8.785 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.4345, allocations: 8.828 kB / 0.5483 GB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.4346, allocations: 170.4 kB / 0.5485 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.4346, allocations: 4.562 kB / 0.5485 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.4346, allocations: 0 / 0.5485 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.18e-05/0.4347, allocations: 12.73 kB / 0.5485 GB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.437e-05/0.4347, allocations: 34.3 kB / 0.5485 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.4348, allocations: 0 / 0.5485 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.4348, allocations: 0.5312 kB / 0.5485 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.4348, allocations: 0.6562 kB / 0.5485 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.4352, allocations: 254.8 kB / 0.5487 GB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.929e-05/0.4352, allocations: 23.19 kB / 0.5488 GB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.4353, allocations: 12.92 kB / 0.5488 GB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.4353, allocations: 3.75 kB / 0.5488 GB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.4353, allocations: 35.56 kB / 0.5488 GB, free: 8.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4353, allocations: 0 / 0.5488 GB, free: 8.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000166/0.4355, allocations: 45.69 kB / 0.5489 GB, free: 8.105 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.4355, allocations: 55.34 kB / 0.5489 GB, free: 8.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.489e-05/0.4356, allocations: 91.23 kB / 0.549 GB, free: 7.945 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.4356, allocations: 25.7 kB / 0.549 GB, free: 7.914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.4357, allocations: 88.05 kB / 0.5491 GB, free: 7.824 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.4357, allocations: 0 / 0.5491 GB, free: 7.824 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.4357, allocations: 2.625 kB / 0.5491 GB, free: 7.824 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.4358, allocations: 322.7 kB / 0.5494 GB, free: 7.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.4358, allocations: 4 kB / 0.5494 GB, free: 7.496 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.194e-05/0.4359, allocations: 4 kB / 0.5494 GB, free: 7.492 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.192e-05/0.4359, allocations: 4 kB / 0.5494 GB, free: 7.488 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4359, allocations: 0.8438 kB / 0.5494 GB, free: 7.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.33e-05/0.436, allocations: 41.7 kB / 0.5495 GB, free: 7.441 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.436, allocations: 8.828 kB / 0.5495 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.436, allocations: 0 / 0.5495 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.436, allocations: 1.359 kB / 0.5495 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.396e-05/0.4361, allocations: 9.844 kB / 0.5495 GB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.4361, allocations: 4.531 kB / 0.5495 GB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.4362, allocations: 13.14 kB / 0.5495 GB, free: 7.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.4362, allocations: 4.906 kB / 0.5495 GB, free: 7.406 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.18e-05/0.4363, allocations: 107 kB / 0.5496 GB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.4363, allocations: 0 / 0.5496 GB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.4365, allocations: 64.73 kB / 0.5497 GB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.4365, allocations: 3.906 kB / 0.5497 GB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4365, allocations: 3.984 kB / 0.5497 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4365, allocations: 0 / 0.5497 GB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.4366, allocations: 134.9 kB / 0.5498 GB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4366, allocations: 0 / 0.5498 GB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.821e-05/0.4367, allocations: 20.02 kB / 0.5498 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4367, allocations: 0 / 0.5498 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.4367, allocations: 0 / 0.5498 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.4367, allocations: 0 / 0.5498 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4367, allocations: 3.25 kB / 0.5498 GB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000115/0.4369, allocations: 143.4 kB / 0.55 GB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001989/0.4371, allocations: 0.5077 MB / 0.5505 GB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.4371, allocations: 81.09 kB / 0.5505 GB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.4371, allocations: 4 kB / 0.5506 GB, free: 6.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.986e-05/0.4372, allocations: 5.219 kB / 0.5506 GB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.4373, allocations: 12.97 kB / 0.5506 GB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.4373, allocations: 4.031 kB / 0.5506 GB, free: 6.238 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.017e-05/0.4373, allocations: 79.28 kB / 0.5506 GB, free: 6.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007813/0.4381, allocations: 4 kB / 0.5507 GB, free: 6.156 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001199/0.4382, allocations: 107.2 kB / 0.5508 GB, free: 6.039 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.741e-05/0.4383, allocations: 11.94 kB / 0.5508 GB, free: 6.027 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.4383, allocations: 0 / 0.5508 GB, free: 6.027 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.284e-05/0.4383, allocations: 11.98 kB / 0.5508 GB, free: 6.016 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.4385, allocations: 10.59 kB / 0.5508 GB, free: 6.008 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001829/0.4387, allocations: 59.52 kB / 0.5508 GB, free: 5.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.439, allocations: 0.689 MB / 0.5515 GB, free: 5.215 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.439, allocations: 0 / 0.5515 GB, free: 5.215 MB / 346.7 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe 2>&1)