Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.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) 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(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.ShowTransferFunction,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction",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.0009752/0.0009754, allocations: 176.1 kB / 8.476 MB, free: 1.883 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.045/1.045, allocations: 205.2 MB / 214.1 MB, free: 5.16 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008935/0.0008937, allocations: 82.84 kB / 262.1 MB, free: 5.215 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1445/0.1454, allocations: 52.96 MB / 315 MB, free: 41.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05898/0.2044, allocations: 47.58 MB / 362.6 MB, free: 9.895 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1946/0.399, allocations: 76.16 MB / 438.8 MB, free: 11.03 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001522/0.3992, allocations: 65.69 kB / 438.8 MB, free: 11.03 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.01117/0.4104, allocations: 4.02 MB / 442.9 MB, free: 10.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.4104, allocations: 12.39 kB / 442.9 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.4105, allocations: 15.5 kB / 442.9 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.4106, allocations: 192.6 kB / 443.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.4106, allocations: 5.594 kB / 443.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.4106, allocations: 8.641 kB / 443.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000275/0.4109, allocations: 161.5 kB / 443.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.4112, allocations: 154 kB / 443.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4112, allocations: 0 / 443.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.4112, allocations: 3.906 kB / 443.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.4112, allocations: 8.391 kB / 443.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008207/0.412, allocations: 0.4985 MB / 443.9 MB, free: 9.922 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.4123, allocations: 158 kB / 444.1 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.4124, allocations: 92.73 kB / 444.2 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.4124, allocations: 7.234 kB / 444.2 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.4124, allocations: 31.22 kB / 444.2 MB, free: 9.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.4125, allocations: 0 / 444.2 MB, free: 9.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003304/0.4128, allocations: 179.7 kB / 444.4 MB, free: 9.797 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.4128, allocations: 52.11 kB / 444.4 MB, free: 9.734 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.656e-05/0.4129, allocations: 142.1 kB / 444.6 MB, free: 9.637 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.4129, allocations: 29.7 kB / 444.6 MB, free: 9.602 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.413, allocations: 104.4 kB / 444.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.413, allocations: 55 kB / 444.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.413, allocations: 0.75 kB / 444.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.693e-05/0.4131, allocations: 322.1 kB / 445.1 MB, free: 9.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.761e-05/0.4132, allocations: 64.53 kB / 445.1 MB, free: 9.156 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.464e-05/0.4133, allocations: 80.05 kB / 445.2 MB, free: 9.125 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.4134, allocations: 72.95 kB / 445.3 MB, free: 9.121 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4134, allocations: 0 / 445.3 MB, free: 9.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002735/0.4137, allocations: 200.8 kB / 445.5 MB, free: 9.074 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.4137, allocations: 7.656 kB / 445.5 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4137, allocations: 3.938 kB / 445.5 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4137, allocations: 0.6562 kB / 445.5 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.414, allocations: 47.44 kB / 445.5 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.414, allocations: 0.9844 kB / 445.5 MB, free: 9.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.4142, allocations: 17.92 kB / 445.5 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.4142, allocations: 9.766 kB / 445.6 MB, free: 9.055 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.883e-05/0.4143, allocations: 105.7 kB / 445.7 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.4143, allocations: 15.16 kB / 445.7 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.4147, allocations: 237.5 kB / 445.9 MB, free: 8.887 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.4147, allocations: 7.812 kB / 445.9 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4147, allocations: 0.6094 kB / 445.9 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4147, allocations: 1.125 kB / 445.9 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.415, allocations: 237.8 kB / 446.1 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.415, allocations: 0 / 446.1 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.4152, allocations: 46.44 kB / 446.2 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4152, allocations: 3.938 kB / 446.2 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.4152, allocations: 6.25 kB / 446.2 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.4152, allocations: 0 / 446.2 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4153, allocations: 0 / 446.2 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002831/0.4155, allocations: 299 kB / 446.5 MB, free: 8.57 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003171/0.4159, allocations: 0.6738 MB / 447.2 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.4159, allocations: 93.86 kB / 447.3 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.4159, allocations: 0 / 447.3 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.4161, allocations: 10.52 kB / 447.3 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.4162, allocations: 14.98 kB / 447.3 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.4162, allocations: 16.91 kB / 447.3 MB, free: 7.941 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.118e-05/0.4163, allocations: 108.8 kB / 447.4 MB, free: 7.867 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008159/0.4171, allocations: 39.84 kB / 447.4 MB, free: 7.863 MB / 314.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001326/0.4172, allocations: 108.6 kB / 447.6 MB, free: 7.766 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.4175, allocations: 161.5 kB / 447.7 MB, free: 7.754 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4175, allocations: 0 / 447.7 MB, free: 7.754 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.4176, allocations: 90.72 kB / 447.8 MB, free: 7.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.4178, allocations: 11.75 kB / 447.8 MB, free: 7.746 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.4183, allocations: 238.5 kB / 448 MB, free: 7.652 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.4186, allocations: 0.7614 MB / 448.8 MB, free: 6.941 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4186, allocations: 0 / 448.8 MB, free: 6.941 MB / 314.7 MB (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_ShowTransferFunction.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.ComplexBlocks.Examples.ShowTransferFunction_res.mat does not exist to compare? outputFormat=mat