Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",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 4.0.0+maint.om/package.mo): time 0.0009864/0.0009866, allocations: 174.8 kB / 8.518 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.134/1.134, allocations: 221.4 MB / 230.3 MB, free: 7.641 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008698/0.0008698, allocations: 84.72 kB / 281.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2018/0.2018, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2255/0.4274, allocations: 68.05 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09471/0.5221, allocations: 61.92 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2511/0.7732, allocations: 92.82 MB / 0.5848 GB, free: 3.902 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.7735, allocations: 102.6 kB / 0.5849 GB, free: 3.809 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.02683/0.8004, allocations: 9.443 MB / 0.5942 GB, free: 10.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.8004, allocations: 17.44 kB / 0.5942 GB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.8005, allocations: 19.72 kB / 0.5942 GB, free: 10.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.8007, allocations: 214.7 kB / 0.5944 GB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.8008, allocations: 4 kB / 0.5944 GB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.8008, allocations: 8 kB / 0.5944 GB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002555/0.8011, allocations: 132.4 kB / 0.5945 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.8014, allocations: 238.3 kB / 0.5948 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.8015, allocations: 0 / 0.5948 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.8015, allocations: 0 / 0.5948 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/0.8015, allocations: 20.22 kB / 0.5948 GB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.8026, allocations: 0.7674 MB / 0.5955 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.8028, allocations: 163.7 kB / 0.5957 GB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.8029, allocations: 74.53 kB / 0.5958 GB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.803, allocations: 11.89 kB / 0.5958 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.803, allocations: 42.56 kB / 0.5958 GB, free: 8.434 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.803, allocations: 0 / 0.5958 GB, free: 8.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003995/0.8034, allocations: 169.5 kB / 0.596 GB, free: 8.262 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.8035, allocations: 110.8 kB / 0.5961 GB, free: 8.129 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.8037, allocations: 170.7 kB / 0.5962 GB, free: 7.953 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.8037, allocations: 25.7 kB / 0.5963 GB, free: 7.922 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.8038, allocations: 128 kB / 0.5964 GB, free: 7.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.8038, allocations: 39.45 kB / 0.5964 GB, free: 7.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.8038, allocations: 4.062 kB / 0.5964 GB, free: 7.746 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.8039, allocations: 322.8 kB / 0.5967 GB, free: 7.422 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.8041, allocations: 63.95 kB / 0.5968 GB, free: 7.359 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.8042, allocations: 109.1 kB / 0.5969 GB, free: 7.234 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.8043, allocations: 83.95 kB / 0.597 GB, free: 7.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.8043, allocations: 3.938 kB / 0.597 GB, free: 7.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003562/0.8047, allocations: 217.3 kB / 0.5972 GB, free: 6.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.8047, allocations: 7.938 kB / 0.5972 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-05/0.8047, allocations: 8 kB / 0.5972 GB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.8048, allocations: 0 / 0.5972 GB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/0.8051, allocations: 48.11 kB / 0.5973 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.8051, allocations: 4 kB / 0.5973 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.8053, allocations: 39.81 kB / 0.5973 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.8053, allocations: 12 kB / 0.5973 GB, free: 6.812 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.006e-05/0.8054, allocations: 104.9 kB / 0.5974 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.108e-05/0.8055, allocations: 15.81 kB / 0.5974 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.8059, allocations: 206.8 kB / 0.5976 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.8059, allocations: 8 kB / 0.5976 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8059, allocations: 3.938 kB / 0.5976 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.8059, allocations: 0 / 0.5976 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.8062, allocations: 234 kB / 0.5979 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/0.8063, allocations: 11.98 kB / 0.5979 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.8065, allocations: 39.97 kB / 0.5979 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.8065, allocations: 0 / 0.5979 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.8065, allocations: 7.984 kB / 0.5979 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.8065, allocations: 0 / 0.5979 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8065, allocations: 0 / 0.5979 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003834/0.8069, allocations: 445.2 kB / 0.5983 GB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004622/0.8074, allocations: 0.8179 MB / 0.5991 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/0.8075, allocations: 96.84 kB / 0.5992 GB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.8075, allocations: 4.094 kB / 0.5992 GB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.8078, allocations: 23.92 kB / 0.5993 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.8079, allocations: 19.97 kB / 0.5993 GB, free: 4.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.8079, allocations: 4 kB / 0.5993 GB, free: 4.656 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.675e-05/0.808, allocations: 137.2 kB / 0.5994 GB, free: 4.523 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001042/0.809, allocations: 107.8 kB / 0.5995 GB, free: 4.418 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0003641/0.8094, allocations: 220.9 kB / 0.5997 GB, free: 4.191 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003203/0.8097, allocations: 232.9 kB / 0.5999 GB, free: 3.945 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8097, allocations: 0 / 0.5999 GB, free: 3.945 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.8099, allocations: 153 kB / 0.6001 GB, free: 3.777 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.8102, allocations: 28.06 kB / 0.6001 GB, free: 3.746 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007948/0.811, allocations: 302.2 kB / 0.6004 GB, free: 3.422 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/0.8115, allocations: 0.7734 MB / 0.6012 GB, free: 2.625 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.8115, allocations: 3.938 kB / 0.6012 GB, free: 2.621 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall.pipe 2>&1)