Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",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 trunk/package.mo): time 0.001147/0.001147, allocations: 202.7 kB / 8.54 MB, free: 1.797 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.181/1.181, allocations: 225.5 MB / 234.4 MB, free: 3.363 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008537/0.0008537, allocations: 91.53 kB / 286.3 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1726/0.1726, allocations: 45.14 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2084/0.381, allocations: 69.39 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09046/0.4715, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.285/0.7565, allocations: 94.78 MB / 0.5964 GB, free: 8.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.7568, allocations: 96.58 kB / 0.5965 GB, free: 7.969 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.03231/0.7891, allocations: 12.4 MB / 0.6086 GB, free: 13.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.7892, allocations: 8 kB / 0.6087 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.384e-05/0.7893, allocations: 55.42 kB / 0.6087 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.7896, allocations: 295.7 kB / 0.609 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.7896, allocations: 19.94 kB / 0.609 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.7897, allocations: 24 kB / 0.609 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007357/0.7905, allocations: 0.6087 MB / 0.6096 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.7912, allocations: 0.5805 MB / 0.6102 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.7912, allocations: 0 / 0.6102 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.7913, allocations: 0 / 0.6102 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.493e-05/0.7913, allocations: 41.28 kB / 0.6102 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.7932, allocations: 1.242 MB / 0.6114 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007456/0.7939, allocations: 0.5506 MB / 0.612 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.7942, allocations: 178.3 kB / 0.6122 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.7943, allocations: 7.984 kB / 0.6122 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.7943, allocations: 42.48 kB / 0.6122 GB, free: 10.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.813e-06/0.7943, allocations: 0 / 0.6122 GB, free: 10.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007323/0.795, allocations: 426.8 kB / 0.6126 GB, free: 9.746 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.7951, allocations: 55.41 kB / 0.6127 GB, free: 9.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.7952, allocations: 167.9 kB / 0.6128 GB, free: 9.523 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.7953, allocations: 29.7 kB / 0.6128 GB, free: 9.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.7954, allocations: 214 kB / 0.6131 GB, free: 9.293 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.121e-05/0.7955, allocations: 124.6 kB / 0.6132 GB, free: 9.184 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.7955, allocations: 0 / 0.6132 GB, free: 9.184 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.7956, allocations: 336.9 kB / 0.6135 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.7959, allocations: 174.4 kB / 0.6137 GB, free: 8.703 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.7962, allocations: 271.3 kB / 0.6139 GB, free: 8.426 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.7965, allocations: 224.6 kB / 0.6141 GB, free: 8.227 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7965, allocations: 0 / 0.6141 GB, free: 8.227 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007324/0.7972, allocations: 0.4946 MB / 0.6146 GB, free: 7.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.7972, allocations: 8 kB / 0.6146 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.7973, allocations: 3.906 kB / 0.6146 GB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.7973, allocations: 8 kB / 0.6146 GB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.7984, allocations: 207.7 kB / 0.6148 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003568/0.802, allocations: 7.39 MB / 0.622 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.8022, allocations: 27.73 kB / 0.6221 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.8023, allocations: 23.19 kB / 0.6221 GB, free: 15.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.8024, allocations: 131.6 kB / 0.6222 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.8025, allocations: 23.72 kB / 0.6222 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.8035, allocations: 0.6258 MB / 0.6229 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.8035, allocations: 4 kB / 0.6229 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.8035, allocations: 0 / 0.6229 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8035, allocations: 3.938 kB / 0.6229 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.804, allocations: 393.8 kB / 0.6232 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.804, allocations: 8 kB / 0.6232 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.805, allocations: 195.8 kB / 0.6234 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.805, allocations: 3.938 kB / 0.6234 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.8051, allocations: 11.3 kB / 0.6234 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003746/0.8088, allocations: 7.391 MB / 0.6307 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.8088, allocations: 0 / 0.6307 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006635/0.8095, allocations: 0.5215 MB / 0.6312 GB, free: 6.5 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007629/0.8103, allocations: 0.8963 MB / 0.632 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.8103, allocations: 108.8 kB / 0.6322 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.8104, allocations: 4 kB / 0.6322 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.8106, allocations: 11.98 kB / 0.6322 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/0.8107, allocations: 27.08 kB / 0.6322 GB, free: 5.461 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.8107, allocations: 19.86 kB / 0.6322 GB, free: 5.445 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.452e-05/0.8108, allocations: 125.6 kB / 0.6323 GB, free: 5.336 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001087/0.8119, allocations: 161.8 kB / 0.6325 GB, free: 5.184 MB / 426.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 (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003324/0.8123, allocations: 176.9 kB / 0.6327 GB, free: 5.008 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.8139, allocations: 0.5733 MB / 0.6332 GB, free: 4.477 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8139, allocations: 3.938 kB / 0.6332 GB, free: 4.473 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.8152, allocations: 384.9 kB / 0.6336 GB, free: 4.117 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.8154, allocations: 11.75 kB / 0.6336 GB, free: 4.109 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.8168, allocations: 0.6602 MB / 0.6342 GB, free: 3.457 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005965/0.8174, allocations: 0.9404 MB / 0.6352 GB, free: 2.504 MB / 426.7 MB Notification: Performance of SimCode: time 3.2e-07/0.8174, allocations: 0 / 0.6352 GB, free: 2.504 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat