Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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) 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(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",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.0009628/0.0009626, allocations: 187.2 kB / 8.134 MB, free: 2.207 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.122/1.122, allocations: 221.4 MB / 229.9 MB, free: 3.055 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.0008834/0.0008833, allocations: 97.88 kB / 280.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0961/0.09701, allocations: 55.82 MB / 336.6 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.2786, allocations: 50.4 MB / 387 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0816/0.3602, allocations: 79.32 MB / 466.3 MB, free: 7.406 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/0.3605, allocations: 72.69 kB / 466.4 MB, free: 7.336 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.03349/0.394, allocations: 14.11 MB / 480.5 MB, free: 9.184 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.394, allocations: 12 kB / 480.5 MB, free: 9.172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.3942, allocations: 102.8 kB / 480.6 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005504/0.3947, allocations: 442.2 kB / 481 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.3948, allocations: 39.91 kB / 481.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.223e-05/0.3949, allocations: 52 kB / 481.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008532/0.3957, allocations: 500 kB / 481.6 MB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.3968, allocations: 0.6918 MB / 482.3 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.3969, allocations: 1.5 kB / 482.3 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.3969, allocations: 3.984 kB / 482.3 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.3969, allocations: 28 kB / 482.4 MB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003837/0.4008, allocations: 2.859 MB / 485.2 MB, free: 4.301 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.4011, allocations: 241.5 kB / 485.4 MB, free: 4.059 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.4014, allocations: 244.8 kB / 485.7 MB, free: 3.816 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.4015, allocations: 4 kB / 485.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.4015, allocations: 43.19 kB / 485.7 MB, free: 3.762 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.953e-06/0.4015, allocations: 0 / 485.7 MB, free: 3.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006531/0.4022, allocations: 361.9 kB / 486.1 MB, free: 3.398 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.4022, allocations: 55.41 kB / 486.1 MB, free: 3.332 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.4026, allocations: 409 kB / 486.5 MB, free: 2.922 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.4027, allocations: 25.7 kB / 486.6 MB, free: 2.891 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.4029, allocations: 449.4 kB / 487 MB, free: 2.441 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.647e-05/0.403, allocations: 150.8 kB / 487.1 MB, free: 2.293 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.403, allocations: 0 / 487.1 MB, free: 2.293 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4031, allocations: 362.8 kB / 487.5 MB, free: 1.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.4034, allocations: 141.6 kB / 487.6 MB, free: 1.793 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/0.4038, allocations: 413.9 kB / 488 MB, free: 1.262 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.4041, allocations: 209.3 kB / 488.2 MB, free: 1.055 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.4041, allocations: 4 kB / 488.3 MB, free: 1.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009669/0.4051, allocations: 0.6377 MB / 488.9 MB, free: 412 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.4051, allocations: 4 kB / 488.9 MB, free: 408 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.4051, allocations: 8 kB / 488.9 MB, free: 400 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002611/0.4054, allocations: 89.5 kB / 489 MB, free: 308 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.4061, allocations: 203.8 kB / 489.2 MB, free: 104 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001621/0.4077, allocations: 1.718 MB / 490.9 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004232/0.4081, allocations: 71.17 kB / 491 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.4082, allocations: 32 kB / 491 MB, free: 14.17 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.4083, allocations: 133 kB / 491.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.4084, allocations: 55.34 kB / 491.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.126e-05/0.4085, allocations: 56.89 kB / 491.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.4085, allocations: 4 kB / 491.3 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.4085, allocations: 7.984 kB / 491.3 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.4085, allocations: 7.984 kB / 491.3 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005835/0.4091, allocations: 0.5249 MB / 491.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4091, allocations: 0 / 491.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004376/0.4096, allocations: 99.88 kB / 491.9 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001965/0.4098, allocations: 76.73 kB / 492 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.4098, allocations: 4 kB / 492 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.4113, allocations: 1.691 MB / 493.7 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4113, allocations: 4.156 kB / 493.7 MB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007654/0.4121, allocations: 0.6059 MB / 494.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001027/0.4131, allocations: 1.115 MB / 495.4 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.4132, allocations: 136.3 kB / 495.5 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.072e-05/0.4133, allocations: 0 / 495.5 MB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000389/0.4137, allocations: 44.22 kB / 495.6 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.4138, allocations: 20.31 kB / 495.6 MB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.4138, allocations: 16 kB / 495.6 MB, free: 9.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002825/0.4141, allocations: 299 kB / 495.9 MB, free: 9.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001235/0.4153, allocations: 223.1 kB / 496.1 MB, free: 8.852 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000154/0.4155, allocations: 107.2 kB / 496.2 MB, free: 8.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007559/0.4163, allocations: 0.5125 MB / 496.7 MB, free: 8.219 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4163, allocations: 0 / 496.7 MB, free: 8.219 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.4167, allocations: 273.3 kB / 497 MB, free: 7.941 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.4171, allocations: 78.11 kB / 497.1 MB, free: 7.867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.4189, allocations: 1.085 MB / 498.2 MB, free: 6.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005873/0.4195, allocations: 0.9993 MB / 499.2 MB, free: 5.723 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4195, allocations: 4 kB / 499.2 MB, free: 5.719 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat does not exist to compare? outputFormat=mat