Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog",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.0009916/0.0009916, allocations: 182.9 kB / 8.135 MB, free: 2.223 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.119/1.119, allocations: 221.4 MB / 229.9 MB, free: 3.023 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.0008994/0.000899, allocations: 83.91 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09745/0.09838, allocations: 55.82 MB / 336.6 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.2929, allocations: 50.39 MB / 387 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08438/0.3774, allocations: 77.69 MB / 464.7 MB, free: 9.082 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.3776, allocations: 71.95 kB / 464.8 MB, free: 9.012 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.01329/0.3909, allocations: 5.123 MB / 469.9 MB, free: 3.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.391, allocations: 12 kB / 469.9 MB, free: 3.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.794e-05/0.3911, allocations: 31.62 kB / 469.9 MB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.3914, allocations: 255.7 kB / 470.2 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.3914, allocations: 8 kB / 470.2 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.3914, allocations: 19.98 kB / 470.2 MB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000284/0.3917, allocations: 149.3 kB / 470.3 MB, free: 3.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.3921, allocations: 200.8 kB / 470.5 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3921, allocations: 0 / 470.5 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.3921, allocations: 0 / 470.5 MB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.3922, allocations: 8 kB / 470.6 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.3937, allocations: 0.9666 MB / 471.5 MB, free: 2.078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.3939, allocations: 114 kB / 471.6 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004111/0.3943, allocations: 210.3 kB / 471.8 MB, free: 1.758 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3944, allocations: 12.17 kB / 471.8 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.3944, allocations: 34.75 kB / 471.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.864e-06/0.3944, allocations: 0 / 471.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.001018/0.3954, allocations: 0.5945 MB / 472.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.3955, allocations: 55.41 kB / 472.5 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.3956, allocations: 154.8 kB / 472.7 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3956, allocations: 29.7 kB / 472.7 MB, free: 0.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.3957, allocations: 160 kB / 472.9 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.3958, allocations: 78.81 kB / 472.9 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.3958, allocations: 3.938 kB / 472.9 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3959, allocations: 334.8 kB / 473.3 MB, free: 220 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.396, allocations: 60 kB / 473.3 MB, free: 160 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.3962, allocations: 77.69 kB / 473.4 MB, free: 76 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.3963, allocations: 72.48 kB / 473.5 MB, free: 4 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3963, allocations: 0 / 473.5 MB, free: 4 kB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004144/0.3967, allocations: 262.1 kB / 473.7 MB, free: 15.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3967, allocations: 11.94 kB / 473.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3967, allocations: 1.062 kB / 473.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.397, allocations: 65.56 kB / 473.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.3972, allocations: 47.92 kB / 473.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/0.3989, allocations: 1.695 MB / 475.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.399, allocations: 4 kB / 475.6 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.3991, allocations: 8.188 kB / 475.6 MB, free: 13.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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 7.873e-05/0.3992, allocations: 109 kB / 475.7 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.3992, allocations: 19.81 kB / 475.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.3993, allocations: 29.83 kB / 475.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3993, allocations: 0 / 475.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3993, allocations: 9.375 kB / 475.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.3993, allocations: 0 / 475.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007974/0.4001, allocations: 0.5947 MB / 476.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4001, allocations: 0 / 476.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.4003, allocations: 35.98 kB / 476.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/0.4005, allocations: 72.73 kB / 476.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.4005, allocations: 8 kB / 476.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.402, allocations: 1.69 MB / 478.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.402, allocations: 0.875 kB / 478.1 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004886/0.4025, allocations: 403.1 kB / 478.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006935/0.4032, allocations: 0.8314 MB / 479.4 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.4033, allocations: 104.8 kB / 479.5 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.4033, allocations: 0 / 479.5 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.4035, allocations: 13.05 kB / 479.5 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.4036, allocations: 7.984 kB / 479.5 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.4036, allocations: 7.984 kB / 479.5 MB, free: 9.648 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.552e-05/0.4037, allocations: 137.2 kB / 479.6 MB, free: 9.516 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009474/0.4046, allocations: 64 kB / 479.7 MB, free: 9.453 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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.0001539/0.4048, allocations: 107.5 kB / 479.8 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005526/0.4054, allocations: 289.9 kB / 480.1 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.4054, allocations: 0 / 480.1 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.4057, allocations: 217.6 kB / 480.3 MB, free: 8.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.406, allocations: 29.84 kB / 480.3 MB, free: 8.797 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.407, allocations: 0.5939 MB / 480.9 MB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.4074, allocations: 0.8024 MB / 481.7 MB, free: 7.355 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4074, allocations: 0 / 481.7 MB, free: 7.355 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat does not exist to compare? outputFormat=mat