Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",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.001549/0.001549, allocations: 186.3 kB / 7.804 MB, free: 2.438 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.73/1.73, allocations: 205.2 MB / 213.4 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.001145/0.001145, allocations: 82.02 kB / 261.4 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.22/0.22, allocations: 43.48 MB / 352.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2263/0.4464, allocations: 64.99 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.8123, allocations: 58.83 MB / 476.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.9509, allocations: 89.29 MB / 0.5527 GB, free: 9.605 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.9513, allocations: 91.33 kB / 0.5528 GB, free: 9.52 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Fluid/Dissipation.mo:5984:11-5987:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.01076/0.962, allocations: 3.575 MB / 0.5563 GB, free: 5.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.9621, allocations: 8 kB / 0.5563 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003031/0.9624, allocations: 35.86 kB / 0.5563 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.9626, allocations: 190.9 kB / 0.5565 GB, free: 5.621 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.9626, allocations: 4 kB / 0.5565 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.9627, allocations: 4 kB / 0.5565 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002074/0.9629, allocations: 99.88 kB / 0.5566 GB, free: 5.516 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.9631, allocations: 155 kB / 0.5568 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.9631, allocations: 0 / 0.5568 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.9632, allocations: 3.984 kB / 0.5568 GB, free: 5.348 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.9632, allocations: 15.98 kB / 0.5568 GB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.9642, allocations: 0.6177 MB / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.9645, allocations: 94.64 kB / 0.5575 GB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.9645, allocations: 24.86 kB / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.9646, allocations: 3.906 kB / 0.5575 GB, free: 4.523 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.9646, allocations: 34.5 kB / 0.5575 GB, free: 4.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.9646, allocations: 4 kB / 0.5575 GB, free: 4.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002094/0.9648, allocations: 77.58 kB / 0.5576 GB, free: 4.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.9649, allocations: 59.34 kB / 0.5577 GB, free: 4.324 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.965, allocations: 117.2 kB / 0.5578 GB, free: 4.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.965, allocations: 25.7 kB / 0.5578 GB, free: 4.168 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.9651, allocations: 123.8 kB / 0.5579 GB, free: 4.039 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.9651, allocations: 23.64 kB / 0.5579 GB, free: 4.016 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.9651, allocations: 0 / 0.5579 GB, free: 4.016 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.9652, allocations: 326.8 kB / 0.5582 GB, free: 3.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.16e-05/0.9653, allocations: 20 kB / 0.5583 GB, free: 3.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-05/0.9654, allocations: 79.52 kB / 0.5583 GB, free: 3.566 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.212e-05/0.9654, allocations: 39.91 kB / 0.5584 GB, free: 3.527 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.9654, allocations: 0 / 0.5584 GB, free: 3.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001858/0.9656, allocations: 121.6 kB / 0.5585 GB, free: 3.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.9657, allocations: 4 kB / 0.5585 GB, free: 3.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.9657, allocations: 8.25 kB / 0.5585 GB, free: 3.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.9657, allocations: 4 kB / 0.5585 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.9659, allocations: 43.91 kB / 0.5586 GB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.9659, allocations: 4 kB / 0.5586 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.966, allocations: 23.83 kB / 0.5586 GB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.9661, allocations: 12 kB / 0.5586 GB, free: 3.305 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.597e-05/0.9662, allocations: 110.2 kB / 0.5587 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.9662, allocations: 7.906 kB / 0.5587 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.9664, allocations: 86.03 kB / 0.5588 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.9664, allocations: 4 kB / 0.5588 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9664, allocations: 4 kB / 0.5588 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.9664, allocations: 0 / 0.5588 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.9666, allocations: 170.2 kB / 0.559 GB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.9666, allocations: 3.906 kB / 0.559 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.9668, allocations: 31.97 kB / 0.559 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.9668, allocations: 0 / 0.559 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.9668, allocations: 0 / 0.559 GB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9668, allocations: 4 kB / 0.559 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9669, allocations: 0 / 0.559 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001705/0.967, allocations: 183.4 kB / 0.5592 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002794/0.9673, allocations: 0.5508 MB / 0.5597 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.9674, allocations: 81.11 kB / 0.5598 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.9674, allocations: 7.906 kB / 0.5598 GB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.9675, allocations: 15.92 kB / 0.5598 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.9676, allocations: 0 / 0.5598 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.9676, allocations: 11.92 kB / 0.5598 GB, free: 1.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.079e-05/0.9676, allocations: 91.28 kB / 0.5599 GB, free: 1.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008472/0.9685, allocations: 31.84 kB / 0.5599 GB, free: 1.824 MB / 394.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 (8): * Single equations (assignments): 8 * 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.0002252/0.9687, allocations: 135.1 kB / 0.5601 GB, free: 1.684 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001669/0.9689, allocations: 67.98 kB / 0.5601 GB, free: 1.617 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.9689, allocations: 4 kB / 0.5601 GB, free: 1.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/0.969, allocations: 31.92 kB / 0.5602 GB, free: 1.582 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.9692, allocations: 7.859 kB / 0.5602 GB, free: 1.574 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.9696, allocations: 136.4 kB / 0.5603 GB, free: 1.422 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.97, allocations: 0.7348 MB / 0.561 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.9701, allocations: 0 / 0.561 GB, free: 0.6602 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat