Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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: translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise") [: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.001658/0.001658, allocations: 176 kB / 8.147 MB, free: 2.188 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.684/1.684, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 93.66 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.446e-05/1.434e-05, allocations: 4 kB / 314.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2901, allocations: 47.55 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.4073, allocations: 75.32 MB / 437.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4076, allocations: 74.02 kB / 437.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01814/0.4257, allocations: 3.782 MB / 441 MB, free: 6.902 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.4258, allocations: 0 / 441 MB, free: 6.902 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008075/0.4266, allocations: 420.5 kB / 441.4 MB, free: 6.449 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4267, allocations: 20.02 kB / 441.4 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/0.4272, allocations: 43.78 kB / 441.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.4274, allocations: 195.5 kB / 441.7 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.4275, allocations: 0 / 441.7 MB, free: 6.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.4275, allocations: 6.781 kB / 441.7 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001487/0.4277, allocations: 39.98 kB / 441.7 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.4279, allocations: 99.92 kB / 441.8 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.428, allocations: 3.938 kB / 441.8 MB, free: 6.004 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.428, allocations: 3.938 kB / 441.8 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.428, allocations: 1.438 kB / 441.8 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/0.4287, allocations: 339.9 kB / 442.2 MB, free: 5.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.429, allocations: 101.2 kB / 442.3 MB, free: 5.512 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.4292, allocations: 57.92 kB / 442.3 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.4292, allocations: 0 / 442.3 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.4295, allocations: 128.7 kB / 442.4 MB, free: 5.312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.4295, allocations: 0 / 442.4 MB, free: 5.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.000405/0.4299, allocations: 137.5 kB / 442.6 MB, free: 5.176 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.315e-05/0.43, allocations: 89.09 kB / 442.7 MB, free: 5.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.4302, allocations: 153.4 kB / 442.8 MB, free: 4.914 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.655e-05/0.4303, allocations: 41.7 kB / 442.8 MB, free: 4.867 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.4304, allocations: 163 kB / 443 MB, free: 4.707 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/0.4305, allocations: 39.55 kB / 443 MB, free: 4.668 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.4305, allocations: 0 / 443 MB, free: 4.668 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4307, allocations: 322.8 kB / 443.4 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.4309, allocations: 72.5 kB / 443.4 MB, free: 4.266 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.4312, allocations: 103.3 kB / 443.5 MB, free: 4.156 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004511/0.4317, allocations: 103.9 kB / 443.6 MB, free: 4.055 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.4317, allocations: 3.906 kB / 443.6 MB, free: 4.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007982/0.4325, allocations: 249.4 kB / 443.9 MB, free: 3.801 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4325, allocations: 4 kB / 443.9 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.4325, allocations: 4 kB / 443.9 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.4326, allocations: 0 / 443.9 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.4328, allocations: 31.92 kB / 443.9 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.4329, allocations: 4.062 kB / 443.9 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.433, allocations: 23.73 kB / 443.9 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.6e-05/0.4331, allocations: 12 kB / 444 MB, free: 3.723 MB / 330.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: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0001338/0.4332, allocations: 48.7 kB / 444 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/0.4333, allocations: 17.59 kB / 444 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.4334, allocations: 17.39 kB / 444 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.4334, allocations: 5.625 kB / 444 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4334, allocations: 0 / 444 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.4334, allocations: 0 / 444 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.4337, allocations: 182.1 kB / 444.2 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4337, allocations: 0 / 444.2 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.019e-05/0.4338, allocations: 19.92 kB / 444.2 MB, free: 3.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4338, allocations: 0 / 444.2 MB, free: 3.398 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.4338, allocations: 4 kB / 444.2 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.4339, allocations: 4 kB / 444.2 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.4339, allocations: 7.906 kB / 444.3 MB, free: 3.383 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003673/0.4342, allocations: 171.4 kB / 444.4 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.4343, allocations: 92.91 kB / 444.5 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.4344, allocations: 16.95 kB / 444.5 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.4345, allocations: 8 kB / 444.5 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.675e-05/0.4347, allocations: 11.97 kB / 444.6 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.4347, allocations: 11.98 kB / 444.6 MB, free: 3.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001435/0.4348, allocations: 116.3 kB / 444.7 MB, free: 2.918 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004515/0.4353, allocations: 64.53 kB / 444.7 MB, free: 2.855 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000666/0.436, allocations: 214.5 kB / 444.9 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006237/0.4366, allocations: 223.3 kB / 445.2 MB, free: 2.426 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.4367, allocations: 4.125 kB / 445.2 MB, free: 2.422 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.4368, allocations: 47.98 kB / 445.2 MB, free: 2.375 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.437, allocations: 11.91 kB / 445.2 MB, free: 2.363 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000618/0.4377, allocations: 200.9 kB / 445.4 MB, free: 2.141 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.4381, allocations: 0.727 MB / 446.2 MB, free: 1.387 MB / 330.7 MB Notification: Performance of SimCode: time 1.372e-06/0.4382, allocations: 5.125 kB / 446.2 MB, free: 1.383 MB / 330.7 MB Notification: Performance of Templates: time 0.007694/0.4459, allocations: 2.687 MB / 448.8 MB, free: 14.72 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseInitialize.cpp:255:3: error: use of undeclared identifier \'$PRE_P_uniformNoise2_P_state_\'; did you mean \'_uniformNoise2_P_state_\'?\n $PRE_P_uniformNoise2_P_state_=tmp41;\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n _uniformNoise2_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.h:245:34: note: \'_uniformNoise2_P_state_\' declared here\n StatArrayDim1 _uniformNoise2_P_state_;\n ^\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseInitialize.cpp:384:3: error: use of undeclared identifier \'$PRE_P_uniformNoise1_P_state_\'; did you mean \'_uniformNoise1_P_state_\'?\n $PRE_P_uniformNoise1_P_state_=tmp45;\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n _uniformNoise1_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.h:244:34: note: \'_uniformNoise1_P_state_\' declared here\n StatArrayDim1 _uniformNoise1_P_state_;\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseCalcHelperMain.o] Error 1\n'