Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.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.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",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.001324/0.001324, allocations: 208.1 kB / 8.544 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 225.5 MB / 234.4 MB, free: 14.85 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001039/0.001039, allocations: 94.58 kB / 286.4 MB, free: 12.6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1359/0.1369, allocations: 56.88 MB / 343.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.4533, allocations: 51.46 MB / 394.7 MB, free: 33.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1031/0.5565, allocations: 76.23 MB / 470.9 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.5568, allocations: 64.91 kB / 471 MB, free: 4.738 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.006153/0.563, allocations: 1.711 MB / 472.7 MB, free: 3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.563, allocations: 8 kB / 472.7 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003141/0.5634, allocations: 47.88 kB / 472.7 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.5635, allocations: 187 kB / 472.9 MB, free: 2.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.5635, allocations: 0 / 472.9 MB, free: 2.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.5636, allocations: 4 kB / 472.9 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.714e-05/0.5637, allocations: 20 kB / 472.9 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.5638, allocations: 60.25 kB / 473 MB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5638, allocations: 0 / 473 MB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.5638, allocations: 0 / 473 MB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.5638, allocations: 7.984 kB / 473 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.564, allocations: 167.9 kB / 473.2 MB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.5641, allocations: 67.78 kB / 473.2 MB, free: 2.316 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.006e-05/0.5642, allocations: 34.62 kB / 473.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.5642, allocations: 1.125 kB / 473.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.5643, allocations: 38.5 kB / 473.3 MB, free: 2.227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.5643, allocations: 0 / 473.3 MB, free: 2.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002106/0.5645, allocations: 73.52 kB / 473.4 MB, free: 2.148 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.5646, allocations: 102.8 kB / 473.5 MB, free: 2.023 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.5647, allocations: 114.7 kB / 473.6 MB, free: 1.902 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5647, allocations: 25.7 kB / 473.6 MB, free: 1.871 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.5647, allocations: 92.17 kB / 473.7 MB, free: 1.777 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.5648, allocations: 15.75 kB / 473.7 MB, free: 1.762 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.5648, allocations: 0 / 473.7 MB, free: 1.762 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5649, allocations: 318.8 kB / 474 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.744e-05/0.565, allocations: 12 kB / 474.1 MB, free: 1.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.471e-05/0.565, allocations: 31.97 kB / 474.1 MB, free: 1.391 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.075e-05/0.5651, allocations: 12 kB / 474.1 MB, free: 1.379 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5651, allocations: 0 / 474.1 MB, free: 1.379 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001514/0.5652, allocations: 73.52 kB / 474.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.5653, allocations: 4 kB / 474.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5653, allocations: 0 / 474.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.5653, allocations: 4 kB / 474.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.5655, allocations: 24.08 kB / 474.2 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.5655, allocations: 3.938 kB / 474.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.5656, allocations: 15.98 kB / 474.2 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.5656, allocations: 11.89 kB / 474.2 MB, free: 1.238 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 8.413e-05/0.5657, allocations: 109 kB / 474.3 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.5658, allocations: 7.906 kB / 474.3 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.5658, allocations: 7.75 kB / 474.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5658, allocations: 0 / 474.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5658, allocations: 0.6562 kB / 474.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5658, allocations: 0 / 474.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.5659, allocations: 158.1 kB / 474.5 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.566, allocations: 0 / 474.5 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.5661, allocations: 27.97 kB / 474.5 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5661, allocations: 4 kB / 474.5 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.5661, allocations: 0 / 474.5 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.5661, allocations: 0.8438 kB / 474.5 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.5662, allocations: 0 / 474.5 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001718/0.5663, allocations: 138 kB / 474.7 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003346/0.5667, allocations: 0.4947 MB / 475.2 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.5667, allocations: 81.02 kB / 475.2 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.5668, allocations: 8 kB / 475.3 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.5669, allocations: 15.98 kB / 475.3 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.5669, allocations: 3.984 kB / 475.3 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.567, allocations: 15.84 kB / 475.3 MB, free: 44 kB / 346.7 MB Notification: Performance of sort global known variables: time 7.195e-05/0.567, allocations: 106.2 kB / 475.4 MB, free: 15.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007869/0.5678, allocations: 15.94 kB / 475.4 MB, free: 15.93 MB / 362.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 (4): * Single equations (assignments): 4 * 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.0001338/0.568, allocations: 95.25 kB / 475.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.5681, allocations: 27.98 kB / 475.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5681, allocations: 0 / 475.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.199e-05/0.5682, allocations: 24.23 kB / 475.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.5683, allocations: 12.06 kB / 475.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.5688, allocations: 117.4 kB / 475.7 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/0.5692, allocations: 0.7075 MB / 476.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5692, allocations: 0 / 476.4 MB, free: 14.88 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat does not exist to compare? outputFormat=mat