Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",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.001243/0.001243, allocations: 194.9 kB / 8.539 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.179/1.179, allocations: 225.5 MB / 234.4 MB, free: 3.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008988/0.0008989, allocations: 91.19 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1706/0.1706, allocations: 45.14 MB / 383.3 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2079/0.3785, allocations: 69.36 MB / 452.7 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09261/0.4711, allocations: 63.24 MB / 0.5039 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2767/0.7479, allocations: 91.02 MB / 0.5927 GB, free: 11.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001715/0.7481, allocations: 65.78 kB / 0.5928 GB, free: 11.93 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.01686/0.765, allocations: 6.451 MB / 0.5991 GB, free: 6.316 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.765, allocations: 8 kB / 0.5991 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009103/0.7659, allocations: 87.14 kB / 0.5992 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.7661, allocations: 186.7 kB / 0.5994 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.7661, allocations: 12 kB / 0.5994 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.7661, allocations: 12 kB / 0.5994 GB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002158/0.7664, allocations: 117.7 kB / 0.5995 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.7666, allocations: 154.8 kB / 0.5997 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.7666, allocations: 0 / 0.5997 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.7666, allocations: 3.984 kB / 0.5997 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.7667, allocations: 8 kB / 0.5997 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007468/0.7674, allocations: 0.5426 MB / 0.6002 GB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000449/0.7679, allocations: 198.3 kB / 0.6004 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.845e-05/0.768, allocations: 53.64 kB / 0.6004 GB, free: 5.039 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.768, allocations: 0.7969 kB / 0.6004 GB, free: 5.039 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.768, allocations: 42.73 kB / 0.6005 GB, free: 4.992 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.272e-06/0.768, allocations: 0 / 0.6005 GB, free: 4.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002588/0.7683, allocations: 140.4 kB / 0.6006 GB, free: 4.871 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.7683, allocations: 62.47 kB / 0.6007 GB, free: 4.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.489e-05/0.7684, allocations: 89 kB / 0.6008 GB, free: 4.707 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.7684, allocations: 29.64 kB / 0.6008 GB, free: 4.672 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.7685, allocations: 137 kB / 0.6009 GB, free: 4.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/0.7685, allocations: 91.09 kB / 0.601 GB, free: 4.461 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-06/0.7685, allocations: 0 / 0.601 GB, free: 4.461 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.382e-05/0.7686, allocations: 321.8 kB / 0.6013 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-05/0.7687, allocations: 30.12 kB / 0.6013 GB, free: 4.121 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.194e-05/0.7688, allocations: 37.94 kB / 0.6014 GB, free: 4.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.73e-05/0.7688, allocations: 38.03 kB / 0.6014 GB, free: 4.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7688, allocations: 0 / 0.6014 GB, free: 4.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002079/0.769, allocations: 130.8 kB / 0.6015 GB, free: 3.957 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.7691, allocations: 4 kB / 0.6015 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.7691, allocations: 0 / 0.6015 GB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.7691, allocations: 4 kB / 0.6015 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.7695, allocations: 107.2 kB / 0.6016 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.7695, allocations: 3.906 kB / 0.6016 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.669e-05/0.7696, allocations: 15.84 kB / 0.6017 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.7696, allocations: 7.438 kB / 0.6017 GB, free: 3.824 MB / 394.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 (27): * Single equations (assignments): 27 * 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 7.538e-05/0.7697, allocations: 108.9 kB / 0.6018 GB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.7697, allocations: 11.81 kB / 0.6018 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.7698, allocations: 22.8 kB / 0.6018 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.7698, allocations: 4 kB / 0.6018 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7698, allocations: 0 / 0.6018 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.7698, allocations: 0 / 0.6018 GB, free: 3.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.77, allocations: 215 kB / 0.602 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.77, allocations: 4.25 kB / 0.602 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.7704, allocations: 107.4 kB / 0.6021 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.7704, allocations: 7.938 kB / 0.6021 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.7704, allocations: 0 / 0.6021 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7704, allocations: 7.906 kB / 0.6021 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.7704, allocations: 0 / 0.6021 GB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002171/0.7706, allocations: 243 kB / 0.6024 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004997/0.7711, allocations: 0.7377 MB / 0.6031 GB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.7712, allocations: 96.84 kB / 0.6032 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.7712, allocations: 0 / 0.6032 GB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.865e-05/0.7713, allocations: 4 kB / 0.6032 GB, free: 2.316 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.7714, allocations: 11.42 kB / 0.6032 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.7714, allocations: 4 kB / 0.6032 GB, free: 2.305 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.204e-05/0.7714, allocations: 91.2 kB / 0.6033 GB, free: 2.219 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008107/0.7722, allocations: 43.75 kB / 0.6033 GB, free: 2.176 MB / 394.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 (27): * Single equations (assignments): 27 * 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.0001184/0.7724, allocations: 95.19 kB / 0.6034 GB, free: 2.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.7726, allocations: 109.4 kB / 0.6035 GB, free: 1.992 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7726, allocations: 3.938 kB / 0.6035 GB, free: 1.988 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.557e-05/0.7727, allocations: 69.98 kB / 0.6036 GB, free: 1.934 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.7728, allocations: 0 / 0.6036 GB, free: 1.934 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.7733, allocations: 249.1 kB / 0.6038 GB, free: 1.691 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/0.7737, allocations: 0.7628 MB / 0.6046 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.7737, allocations: 0 / 0.6046 GB, free: 0.8984 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat does not exist to compare? outputFormat=mat