Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties") [: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.001826/0.001826, allocations: 182.5 kB / 8.154 MB, free: 2.199 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.634/1.634, allocations: 205.2 MB / 213.8 MB, free: 13.84 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.001249/0.001248, allocations: 88.61 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.187e-06/9.407e-06, allocations: 0 / 314.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.24, allocations: 47.55 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.3595, allocations: 77.5 MB / 439.3 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.3598, allocations: 71.95 kB / 439.4 MB, free: 8.492 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02398/0.3838, allocations: 4.819 MB / 444.2 MB, free: 3.711 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.3839, allocations: 8 kB / 444.2 MB, free: 3.703 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001282/0.3852, allocations: 0.5148 MB / 444.7 MB, free: 3.145 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3853, allocations: 11.97 kB / 444.8 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003011/0.3856, allocations: 39.7 kB / 444.8 MB, free: 3.094 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.386, allocations: 243.5 kB / 445 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.386, allocations: 4 kB / 445 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.224e-05/0.3861, allocations: 12 kB / 445.1 MB, free: 2.801 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003555/0.3865, allocations: 96.25 kB / 445.1 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.3869, allocations: 140.6 kB / 445.3 MB, free: 2.566 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3869, allocations: 4 kB / 445.3 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.3869, allocations: 0 / 445.3 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3869, allocations: 4 kB / 445.3 MB, free: 2.559 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.3882, allocations: 0.5205 MB / 445.8 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.3892, allocations: 224 kB / 446 MB, free: 1.773 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.3895, allocations: 77.03 kB / 446.1 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.3895, allocations: 0 / 446.1 MB, free: 1.695 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002862/0.3898, allocations: 127.9 kB / 446.2 MB, free: 1.559 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.334e-06/0.3898, allocations: 0 / 446.2 MB, free: 1.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.000536/0.3904, allocations: 176 kB / 446.4 MB, free: 1.383 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.3904, allocations: 59.58 kB / 446.5 MB, free: 1.312 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.3907, allocations: 174 kB / 446.6 MB, free: 1.137 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.3908, allocations: 29.7 kB / 446.7 MB, free: 1.102 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3909, allocations: 186.9 kB / 446.8 MB, free: 0.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.171e-05/0.391, allocations: 63.02 kB / 446.9 MB, free: 0.8555 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.391, allocations: 4 kB / 446.9 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3911, allocations: 334.7 kB / 447.2 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.3914, allocations: 83.98 kB / 447.3 MB, free: 444 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.3918, allocations: 113.7 kB / 447.4 MB, free: 324 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.3922, allocations: 101.2 kB / 447.5 MB, free: 220 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3922, allocations: 0 / 447.5 MB, free: 220 kB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008535/0.3931, allocations: 272 kB / 447.8 MB, free: 15.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3931, allocations: 8.031 kB / 447.8 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.3931, allocations: 4 kB / 447.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.3931, allocations: 3.906 kB / 447.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000626/0.3938, allocations: 79.89 kB / 447.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.3938, allocations: 1.016 kB / 447.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.3941, allocations: 43.81 kB / 447.9 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.3942, allocations: 12 kB / 447.9 MB, free: 15.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0001161/0.3943, allocations: 45.53 kB / 448 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.3944, allocations: 11.81 kB / 448 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.284e-05/0.3944, allocations: 18.25 kB / 448 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.3945, allocations: 8 kB / 448 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3945, allocations: 0 / 448 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.3945, allocations: 3.984 kB / 448 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.3957, allocations: 0.5326 MB / 448.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3957, allocations: 0 / 448.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005277/0.3963, allocations: 51.97 kB / 448.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3963, allocations: 0 / 448.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.3963, allocations: 10.23 kB / 448.6 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3963, allocations: 3.938 kB / 448.6 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3963, allocations: 0 / 448.6 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007633/0.3971, allocations: 353.5 kB / 449 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.3972, allocations: 101 kB / 449.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/0.3973, allocations: 8 kB / 449.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.3977, allocations: 31.97 kB / 449.1 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/0.3977, allocations: 11.97 kB / 449.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.3978, allocations: 4 kB / 449.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001493/0.398, allocations: 131.2 kB / 449.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005097/0.3985, allocations: 83.77 kB / 449.3 MB, free: 14.33 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006296/0.3991, allocations: 234.9 kB / 449.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006453/0.3998, allocations: 225.6 kB / 449.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3998, allocations: 4.062 kB / 449.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.4, allocations: 79.92 kB / 449.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.4004, allocations: 18.28 kB / 449.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009703/0.4014, allocations: 337.9 kB / 450.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005312/0.4019, allocations: 0.7744 MB / 451 MB, free: 12.65 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.4019, allocations: 0 / 451 MB, free: 12.65 MB / 346.7 MB Notification: Performance of Templates: time 0.008857/0.4108, allocations: 3.588 MB / 454.6 MB, free: 9.086 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoisePropertiesCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesInitialize.cpp:361:3: error: use of undeclared identifier \'$PRE_P_noise_P_state_\'; did you mean \'_noise_P_state_\'?\n $PRE_P_noise_P_state_=tmp47;\n ^~~~~~~~~~~~~~~~~~~~~\n _noise_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties.h:279:34: note: \'_noise_P_state_\' declared here\n StatArrayDim1 _noise_P_state_;\n ^\n1 error generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.UniformNoisePropertiesCalcHelperMain.o] Error 1\n'