Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.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) 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",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.001428/0.001428, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.166/1.166, allocations: 225.5 MB / 234.4 MB, free: 3.359 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008816/0.0008817, allocations: 86.02 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09591/0.09682, allocations: 56.89 MB / 343.2 MB, free: 8.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0826/0.1794, allocations: 51.47 MB / 394.7 MB, free: 5.121 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2162/0.3957, allocations: 76.66 MB / 471.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001565/0.3959, allocations: 67.72 kB / 471.4 MB, free: 14.52 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.003814/0.3997, allocations: 1.475 MB / 472.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3997, allocations: 16 kB / 472.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.3998, allocations: 6.719 kB / 472.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.695e-05/0.3999, allocations: 170.4 kB / 473.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3999, allocations: 4 kB / 473.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.3999, allocations: 7.891 kB / 473.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.831e-05/0.4, allocations: 35.44 kB / 473.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.334e-05/0.4001, allocations: 51.75 kB / 473.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.4001, allocations: 0 / 473.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.4001, allocations: 4 kB / 473.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.4001, allocations: 0 / 473.2 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.4004, allocations: 281.9 kB / 473.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.753e-05/0.4005, allocations: 47.39 kB / 473.5 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/0.4006, allocations: 19.67 kB / 473.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.4006, allocations: 7.281 kB / 473.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.038e-05/0.4006, allocations: 38.56 kB / 473.6 MB, free: 12.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.4006, allocations: 0 / 473.6 MB, free: 12.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001578/0.4008, allocations: 60.39 kB / 473.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.4e-05/0.4008, allocations: 51.5 kB / 473.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.65e-05/0.4008, allocations: 102.6 kB / 473.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.4009, allocations: 25.7 kB / 473.8 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.674e-05/0.4009, allocations: 94.78 kB / 473.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.4009, allocations: 15 kB / 473.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.4009, allocations: 3.281 kB / 473.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.527e-05/0.4009, allocations: 322.1 kB / 474.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/0.401, allocations: 11.38 kB / 474.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.29e-05/0.401, allocations: 11.75 kB / 474.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/0.401, allocations: 17.25 kB / 474.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4011, allocations: 3.906 kB / 474.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.143e-05/0.4011, allocations: 59.17 kB / 474.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.814e-06/0.4012, allocations: 4 kB / 474.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.4012, allocations: 4 kB / 474.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.4012, allocations: 0 / 474.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.4013, allocations: 26.75 kB / 474.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.4014, allocations: 11.84 kB / 474.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.923e-05/0.4015, allocations: 22.7 kB / 474.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.4015, allocations: 0 / 474.4 MB, free: 12.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.4015, allocations: 105 kB / 474.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.4016, allocations: 7.188 kB / 474.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.4017, allocations: 77.14 kB / 474.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4017, allocations: 0 / 474.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4017, allocations: 11.91 kB / 474.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4017, allocations: 0 / 474.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.4018, allocations: 158 kB / 474.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4019, allocations: 0 / 474.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.402, allocations: 34.06 kB / 474.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.402, allocations: 0 / 474.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.402, allocations: 4 kB / 474.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.402, allocations: 4 kB / 474.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.402, allocations: 0 / 474.8 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001145/0.4022, allocations: 172.6 kB / 475 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001378/0.4023, allocations: 0.5323 MB / 475.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.014e-05/0.4023, allocations: 84.95 kB / 475.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.4024, allocations: 3.828 kB / 475.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.4025, allocations: 26.12 kB / 475.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.4025, allocations: 11.31 kB / 475.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.4026, allocations: 8 kB / 475.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.394e-05/0.4026, allocations: 82.72 kB / 475.7 MB, free: 10.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008536/0.4034, allocations: 19.88 kB / 475.7 MB, free: 10.73 MB / 346.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 (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001109/0.4036, allocations: 98.53 kB / 475.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.4037, allocations: 40.73 kB / 475.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4037, allocations: 0 / 475.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/0.4037, allocations: 30.81 kB / 475.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.4039, allocations: 8.594 kB / 475.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.4042, allocations: 88.39 kB / 476 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.4043, allocations: 0.7017 MB / 476.7 MB, free: 9.766 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4043, allocations: 4 kB / 476.7 MB, free: 9.762 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat