Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3.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.Functions.test_rootsPolyOrder3,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Functions_test_rootsPolyOrder3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Functions_test_rootsPolyOrder3",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.002486/0.002486, allocations: 179.5 kB / 7.453 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.15/1.15, allocations: 205.2 MB / 213.1 MB, free: 13.83 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.000864/0.0008639, allocations: 91.94 kB / 261.1 MB, free: 13.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06164/0.06164, allocations: 10.88 MB / 319.9 MB, free: 2.609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01576/0.01576, allocations: 4.152 MB / 374.2 MB, free: 79.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09364/0.1094, allocations: 57.6 MB / 431.8 MB, free: 21.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08527/0.1947, allocations: 50.76 MB / 482.5 MB, free: 2.984 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.4245, allocations: 77.94 MB / 0.5473 GB, free: 9.711 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.4247, allocations: 65.09 kB / 0.5474 GB, free: 9.648 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.008673/0.4334, allocations: 2.34 MB / 0.5497 GB, free: 7.328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.4335, allocations: 8.75 kB / 0.5497 GB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.4335, allocations: 4 kB / 0.5497 GB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.4337, allocations: 182.4 kB / 0.5499 GB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4337, allocations: 0 / 0.5499 GB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.4337, allocations: 0.6562 kB / 0.5499 GB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.757e-05/0.4338, allocations: 8 kB / 0.5499 GB, free: 7.094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.938e-05/0.4339, allocations: 62.22 kB / 0.5499 GB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.4339, allocations: 0 / 0.5499 GB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.4339, allocations: 0 / 0.5499 GB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.434, allocations: 7.906 kB / 0.5499 GB, free: 7.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.4341, allocations: 143.1 kB / 0.5501 GB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.792e-05/0.4342, allocations: 64.02 kB / 0.5501 GB, free: 6.762 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.4343, allocations: 25.83 kB / 0.5501 GB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.4343, allocations: 0 / 0.5501 GB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.4343, allocations: 39.75 kB / 0.5502 GB, free: 6.684 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.4343, allocations: 0 / 0.5502 GB, free: 6.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002008/0.4345, allocations: 65.58 kB / 0.5502 GB, free: 6.613 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.4346, allocations: 77.95 kB / 0.5503 GB, free: 6.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.79e-05/0.4346, allocations: 103.6 kB / 0.5504 GB, free: 6.418 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.4347, allocations: 25.7 kB / 0.5504 GB, free: 6.387 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.4347, allocations: 84.14 kB / 0.5505 GB, free: 6.301 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.4347, allocations: 23.64 kB / 0.5505 GB, free: 6.277 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.4348, allocations: 0 / 0.5505 GB, free: 6.277 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.4349, allocations: 318.8 kB / 0.5509 GB, free: 5.957 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.4349, allocations: 11.97 kB / 0.5509 GB, free: 5.949 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.844e-05/0.4349, allocations: 33.77 kB / 0.5509 GB, free: 5.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.245e-05/0.435, allocations: 15.98 kB / 0.5509 GB, free: 5.895 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.435, allocations: 0 / 0.5509 GB, free: 5.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001265/0.4352, allocations: 75.11 kB / 0.551 GB, free: 5.816 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.4352, allocations: 8 kB / 0.551 GB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4352, allocations: 0 / 0.551 GB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.4352, allocations: 0 / 0.551 GB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.445e-06/0.4352, allocations: 3.938 kB / 0.551 GB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4352, allocations: 4 kB / 0.551 GB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.4352, allocations: 96 / 0.551 GB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.4353, allocations: 4 kB / 0.551 GB, free: 5.797 MB / 346.7 MB 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 (2): * Single equations (assignments): 0 * Array equations: 2 * 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 5.978e-05/0.4353, allocations: 109.8 kB / 0.5511 GB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.4353, allocations: 4 kB / 0.5511 GB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.767e-05/0.4354, allocations: 4 kB / 0.5511 GB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.4354, allocations: 4 kB / 0.5511 GB, free: 5.668 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.4354, allocations: 3.906 kB / 0.5511 GB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4354, allocations: 0 / 0.5511 GB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.846e-05/0.4355, allocations: 134.2 kB / 0.5513 GB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4355, allocations: 4 kB / 0.5513 GB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-07/0.4355, allocations: 4 kB / 0.5513 GB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4355, allocations: 3.984 kB / 0.5513 GB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.4355, allocations: 0 / 0.5513 GB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.4355, allocations: 0 / 0.5513 GB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.4356, allocations: 12.66 kB / 0.5513 GB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000135/0.4357, allocations: 111.5 kB / 0.5514 GB, free: 5.34 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002316/0.4359, allocations: 492 kB / 0.5519 GB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.436, allocations: 88.94 kB / 0.5519 GB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.436, allocations: 4 kB / 0.5519 GB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.268e-05/0.436, allocations: 0 / 0.5519 GB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.436, allocations: 0 / 0.5519 GB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.436, allocations: 4.031 kB / 0.5519 GB, free: 4.711 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.583e-05/0.4361, allocations: 83.28 kB / 0.552 GB, free: 4.629 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008414/0.4369, allocations: 27.98 kB / 0.552 GB, free: 4.602 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 0 * Array equations: 2 * 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.000197/0.4371, allocations: 123.2 kB / 0.5522 GB, free: 4.473 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.4373, allocations: 35.92 kB / 0.5522 GB, free: 4.438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4373, allocations: 0 / 0.5522 GB, free: 4.438 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.317e-05/0.4373, allocations: 22.89 kB / 0.5522 GB, free: 4.418 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.4375, allocations: 4.25 kB / 0.5522 GB, free: 4.414 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002242/0.4377, allocations: 100 kB / 0.5523 GB, free: 4.293 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002458/0.4379, allocations: 0.6965 MB / 0.553 GB, free: 3.574 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.438, allocations: 0 / 0.553 GB, free: 3.574 MB / 346.7 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Functions_test_rootsPolyOrder3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Functions_test_rootsPolyOrder3.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Functions.test_rootsPolyOrder3.pipe 2>&1)