Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002405/0.002405, allocations: 170.4 kB / 8.185 MB, free: 2.168 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 99.88 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09496/0.09496, allocations: 12.58 MB / 322.3 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.115e-06/8.276e-06, allocations: 0 / 378.4 MB, free: 76.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0828/0.08283, allocations: 50.36 MB / 428.7 MB, free: 25.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2857/0.3686, allocations: 79.42 MB / 0.4962 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001614/0.3688, allocations: 56.89 kB / 0.4963 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02527/0.3941, allocations: 5.833 MB / 0.502 GB, free: 11.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.708e-05/0.3942, allocations: 7.812 kB / 0.502 GB, free: 11.16 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008842/0.3951, allocations: 0.5196 MB / 0.5025 GB, free: 10.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3952, allocations: 7.688 kB / 0.5025 GB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.015e-05/0.3953, allocations: 31 kB / 0.5025 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007606/0.396, allocations: 347.2 kB / 0.5029 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.3961, allocations: 7.656 kB / 0.5029 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.3961, allocations: 11.53 kB / 0.5029 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003348/0.3965, allocations: 109.8 kB / 0.503 GB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.3975, allocations: 0.5229 MB / 0.5035 GB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3975, allocations: 0 / 0.5035 GB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.3976, allocations: 0 / 0.5035 GB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.3976, allocations: 7.469 kB / 0.5035 GB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006694/0.3983, allocations: 491.7 kB / 0.504 GB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007154/0.399, allocations: 478.7 kB / 0.5044 GB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003926/0.3994, allocations: 187 kB / 0.5046 GB, free: 9.379 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006632/0.4001, allocations: 0.5917 MB / 0.5052 GB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.4001, allocations: 44.31 kB / 0.5052 GB, free: 8.656 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 2.836e-06/0.4001, allocations: 0 / 0.5052 GB, free: 8.656 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007275/0.4009, allocations: 259.2 kB / 0.5055 GB, free: 8.582 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/0.401, allocations: 173.7 kB / 0.5057 GB, free: 8.387 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.4012, allocations: 189.4 kB / 0.5058 GB, free: 8.281 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.4013, allocations: 25.7 kB / 0.5059 GB, free: 8.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.4013, allocations: 159.2 kB / 0.506 GB, free: 8.094 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.4014, allocations: 34.97 kB / 0.506 GB, free: 8.078 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.357e-05/0.4014, allocations: 0 / 0.506 GB, free: 8.078 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.453e-05/0.4015, allocations: 328.4 kB / 0.5064 GB, free: 7.758 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.4016, allocations: 53.06 kB / 0.5064 GB, free: 7.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.4018, allocations: 316.7 kB / 0.5067 GB, free: 7.379 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.4021, allocations: 103.4 kB / 0.5068 GB, free: 7.348 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4021, allocations: 3.844 kB / 0.5068 GB, free: 7.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005806/0.4027, allocations: 300 kB / 0.5071 GB, free: 7.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4027, allocations: 6.031 kB / 0.5071 GB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.4027, allocations: 11.59 kB / 0.5071 GB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/0.4028, allocations: 11.62 kB / 0.5071 GB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.4032, allocations: 92.73 kB / 0.5072 GB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.4033, allocations: 15.41 kB / 0.5072 GB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.4035, allocations: 39.52 kB / 0.5073 GB, free: 7.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.4036, allocations: 26.06 kB / 0.5073 GB, free: 7.184 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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 0.0001173/0.4037, allocations: 61.62 kB / 0.5074 GB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000596/0.4043, allocations: 242.9 kB / 0.5076 GB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00063/0.405, allocations: 262 kB / 0.5078 GB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.405, allocations: 7.781 kB / 0.5078 GB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.405, allocations: 0 / 0.5078 GB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.405, allocations: 7.984 kB / 0.5079 GB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.4054, allocations: 251.3 kB / 0.5081 GB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.4054, allocations: 0 / 0.5081 GB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.406, allocations: 84.72 kB / 0.5082 GB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.406, allocations: 3.812 kB / 0.5082 GB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.406, allocations: 0 / 0.5082 GB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.406, allocations: 3.906 kB / 0.5082 GB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.406, allocations: 0 / 0.5082 GB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006449/0.4067, allocations: 0.4963 MB / 0.5087 GB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.4068, allocations: 108.3 kB / 0.5088 GB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-05/0.4069, allocations: 15.33 kB / 0.5088 GB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.4073, allocations: 14.92 kB / 0.5088 GB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.4073, allocations: 3.875 kB / 0.5088 GB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.4073, allocations: 7.719 kB / 0.5088 GB, free: 6.277 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001606/0.4075, allocations: 156.9 kB / 0.509 GB, free: 6.191 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000593/0.4081, allocations: 50.12 kB / 0.509 GB, free: 6.184 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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.0001915/0.4083, allocations: 117.2 kB / 0.5091 GB, free: 6.086 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004796/0.4088, allocations: 213.4 kB / 0.5093 GB, free: 6.059 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4088, allocations: 1 kB / 0.5093 GB, free: 6.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.004e-05/0.4089, allocations: 11.34 kB / 0.5093 GB, free: 6.055 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009756/0.4099, allocations: 234.6 kB / 0.5096 GB, free: 5.977 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.4114, allocations: 407.5 kB / 0.5099 GB, free: 5.762 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003525/0.4118, allocations: 0.8173 MB / 0.5107 GB, free: 5.004 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.4118, allocations: 0 / 0.5107 GB, free: 5.004 MB / 330.7 MB Notification: Performance of Templates: time 0.008388/0.4202, allocations: 3.557 MB / 0.5142 GB, free: 3.242 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe 2>&1)