Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_VerticalOpening.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.Orifices.test_VerticalOpening,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_VerticalOpening",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_VerticalOpening,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_VerticalOpening",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.003031/0.003031, allocations: 181.5 kB / 7.456 MB, free: 2.52 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.081/1.081, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0008618/0.0008619, allocations: 92.39 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.05895/0.05895, allocations: 10.88 MB / 319.9 MB, free: 2.559 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01558/0.01558, allocations: 4.157 MB / 374.2 MB, free: 79.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08503/0.1006, allocations: 57.61 MB / 431.8 MB, free: 21.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08135/0.182, allocations: 50.76 MB / 482.5 MB, free: 2.984 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.499, allocations: 0.6941 GB / 1.165 GB, free: 159.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001631/1.499, allocations: 76.25 kB / 1.165 GB, free: 159.2 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.4968/1.996, allocations: 194 MB / 1.355 GB, free: 127.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.996, allocations: 13.28 kB / 1.355 GB, free: 127.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004903/1.997, allocations: 72.03 kB / 1.355 GB, free: 127.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00409/2.001, allocations: 1.153 MB / 1.356 GB, free: 126.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/2.001, allocations: 21.53 kB / 1.356 GB, free: 126.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/2.001, allocations: 44.59 kB / 1.356 GB, free: 126.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001827/2.003, allocations: 1.302 MB / 1.357 GB, free: 126.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/2.004, allocations: 1.046 MB / 1.358 GB, free: 126.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/2.004, allocations: 3.094 kB / 1.358 GB, free: 126.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.892e-05/2.004, allocations: 0 / 1.358 GB, free: 126.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/2.004, allocations: 15.47 kB / 1.358 GB, free: 126.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005154/2.01, allocations: 4.025 MB / 1.362 GB, free: 125 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/2.011, allocations: 1.276 MB / 1.364 GB, free: 124.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007965/2.012, allocations: 0.7186 MB / 1.364 GB, free: 124.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003589/2.012, allocations: 210.5 kB / 1.365 GB, free: 124.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/2.012, allocations: 47.47 kB / 1.365 GB, free: 124.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=80): time 2.635e-06/2.012, allocations: 0 / 1.365 GB, free: 124.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=80): time 0.004079/2.016, allocations: 1.89 MB / 1.366 GB, free: 124.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/2.016, allocations: 195.5 kB / 1.367 GB, free: 124.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/2.017, allocations: 246.3 kB / 1.367 GB, free: 124.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.028e-05/2.017, allocations: 25.7 kB / 1.367 GB, free: 124.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/2.017, allocations: 211.9 kB / 1.367 GB, free: 124.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/2.017, allocations: 279.4 kB / 1.367 GB, free: 123.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.247e-05/2.017, allocations: 0 / 1.367 GB, free: 123.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.516e-05/2.017, allocations: 358 kB / 1.368 GB, free: 123.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007393/2.018, allocations: 0.5818 MB / 1.368 GB, free: 123.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00077/2.019, allocations: 0.6844 MB / 1.369 GB, free: 123.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003117/2.022, allocations: 1.25 MB / 1.37 GB, free: 123.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/2.022, allocations: 1.094 kB / 1.37 GB, free: 123.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.004694/2.026, allocations: 2.245 MB / 1.372 GB, free: 123.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/2.026, allocations: 6.469 kB / 1.372 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/2.026, allocations: 2.438 kB / 1.372 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/2.027, allocations: 329.2 kB / 1.373 GB, free: 123.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/2.029, allocations: 313.9 kB / 1.373 GB, free: 123.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004647/2.034, allocations: 6.332 MB / 1.379 GB, free: 118.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/2.035, allocations: 184.7 kB / 1.379 GB, free: 118.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/2.035, allocations: 42.84 kB / 1.379 GB, free: 118.1 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: verticalOpening.Vel[5]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: verticalOpening.Vel[4]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: verticalOpening.Vel[3]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: verticalOpening.Vel[2]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: verticalOpening.Vel[1]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: verticalOpening1.Vel[5]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: verticalOpening1.Vel[4]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: verticalOpening1.Vel[3]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: verticalOpening1.Vel[2]:VARIABLE(unit = "m/s" ) type: Real [5] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: verticalOpening1.Vel[1]:VARIABLE(unit = "m/s" ) type: Real [5] 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 (92): * Single equations (assignments): 82 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005571/2.036, allocations: 145.1 kB / 1.38 GB, free: 118 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/2.036, allocations: 55 kB / 1.38 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006806/2.043, allocations: 2.741 MB / 1.382 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/2.043, allocations: 17.81 kB / 1.382 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/2.043, allocations: 3.906 kB / 1.382 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/2.043, allocations: 7.078 kB / 1.382 GB, free: 117.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008229/2.051, allocations: 5.275 MB / 1.387 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/2.051, allocations: 10.72 kB / 1.387 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/2.053, allocations: 430.1 kB / 1.388 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.419e-05/2.053, allocations: 15.69 kB / 1.388 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/2.054, allocations: 43.25 kB / 1.388 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.469e-05/2.054, allocations: 18.66 kB / 1.388 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/2.054, allocations: 13.31 kB / 1.388 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006401/2.06, allocations: 4.019 MB / 1.392 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007403/2.067, allocations: 5.418 MB / 1.397 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/2.068, allocations: 162.9 kB / 1.397 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/2.068, allocations: 21.06 kB / 1.397 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/2.069, allocations: 143.9 kB / 1.397 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/2.069, allocations: 94.27 kB / 1.398 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/2.069, allocations: 51.73 kB / 1.398 GB, free: 113.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0001549/2.069, allocations: 196.8 kB / 1.398 GB, free: 113.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002025/2.071, allocations: 472.2 kB / 1.398 GB, free: 113.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 10 (verticalOpening1.Vel[1],verticalOpening1.Vel[2],verticalOpening1.Vel[3],verticalOpening1.Vel[4],verticalOpening1.Vel[5],verticalOpening.Vel[1],verticalOpening.Vel[2],verticalOpening.Vel[3],verticalOpening.Vel[4],verticalOpening.Vel[5]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 118 * 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.001266/2.073, allocations: 0.879 MB / 1.399 GB, free: 113.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002528/2.075, allocations: 1.514 MB / 1.401 GB, free: 113.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/2.075, allocations: 3.5 kB / 1.401 GB, free: 113.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009926/2.076, allocations: 0.7668 MB / 1.401 GB, free: 113.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008524/2.077, allocations: 129.9 kB / 1.401 GB, free: 113.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/2.08, allocations: 2.166 MB / 1.404 GB, free: 112.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/2.081, allocations: 1.102 MB / 1.405 GB, free: 111.8 MB / 458.7 MB Notification: Performance of SimCode: time 3.9e-07/2.081, allocations: 0 / 1.405 GB, free: 111.8 MB / 458.7 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_VerticalOpening.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_VerticalOpening.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_VerticalOpening.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_VerticalOpening.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_VerticalOpening_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_VerticalOpening.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_VerticalOpening.pipe 2>&1)