Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,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.NormalNoiseProperties") translateModel(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,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.NormalNoiseProperties") [: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.001677/0.001676, allocations: 169.5 kB / 8.147 MB, free: 2.145 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.688/1.688, allocations: 205.2 MB / 213.7 MB, free: 13.93 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.001285/0.001285, allocations: 99.34 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.188e-05/1.204e-05, allocations: 4 kB / 314.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2438, allocations: 47.56 MB / 361.8 MB, free: 45.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.375, allocations: 78.15 MB / 440 MB, free: 7.922 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.3754, allocations: 72.45 kB / 440.1 MB, free: 7.852 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.03272/0.4081, allocations: 6.333 MB / 446.4 MB, free: 1.555 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.23e-05/0.4082, allocations: 8 kB / 446.4 MB, free: 1.547 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.001593/0.4098, allocations: 0.5469 MB / 446.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.352e-05/0.4099, allocations: 12.03 kB / 447 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003726/0.4103, allocations: 31.7 kB / 447 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.4108, allocations: 243.5 kB / 447.2 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.4108, allocations: 4 kB / 447.2 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.4109, allocations: 19.98 kB / 447.2 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003699/0.4113, allocations: 88.27 kB / 447.3 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.4117, allocations: 142.7 kB / 447.5 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4117, allocations: 4 kB / 447.5 MB, free: 384 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.4118, allocations: 6.516 kB / 447.5 MB, free: 380 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4118, allocations: 7.938 kB / 447.5 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.4132, allocations: 0.5089 MB / 448 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.4143, allocations: 222.9 kB / 448.2 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.4146, allocations: 73.64 kB / 448.3 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.4146, allocations: 4 kB / 448.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003039/0.4149, allocations: 123.9 kB / 448.4 MB, free: 15.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.926e-06/0.415, allocations: 0 / 448.4 MB, free: 15.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006068/0.4156, allocations: 167.9 kB / 448.6 MB, free: 15.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.4157, allocations: 67.58 kB / 448.6 MB, free: 15.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.4159, allocations: 166.1 kB / 448.8 MB, free: 14.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.194e-05/0.416, allocations: 33.7 kB / 448.8 MB, free: 14.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.4161, allocations: 175 kB / 449 MB, free: 14.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.348e-05/0.4162, allocations: 75 kB / 449.1 MB, free: 14.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.4163, allocations: 4 kB / 449.1 MB, free: 14.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.4164, allocations: 326.7 kB / 449.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.4167, allocations: 83.98 kB / 449.5 MB, free: 14.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.4171, allocations: 109.7 kB / 449.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.4175, allocations: 101.2 kB / 449.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4175, allocations: 0 / 449.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009133/0.4185, allocations: 278.1 kB / 450 MB, free: 13.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4185, allocations: 8.031 kB / 450 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.4185, allocations: 0.9375 kB / 450 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.4186, allocations: 11.89 kB / 450 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006595/0.4192, allocations: 84.94 kB / 450.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.4193, allocations: 4 kB / 450.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.4196, allocations: 35.83 kB / 450.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.4197, allocations: 15.98 kB / 450.1 MB, free: 13.61 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.0001442/0.4198, allocations: 41.55 kB / 450.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.4199, allocations: 15.81 kB / 450.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.651e-05/0.42, allocations: 17.73 kB / 450.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.42, allocations: 0 / 450.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.42, allocations: 4.938 kB / 450.2 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.42, allocations: 0 / 450.2 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.4214, allocations: 0.5385 MB / 450.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4215, allocations: 0 / 450.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/0.4221, allocations: 55.95 kB / 450.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.4221, allocations: 8 kB / 450.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.4221, allocations: 0 / 450.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.4222, allocations: 3.984 kB / 450.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.4222, allocations: 4 kB / 450.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008447/0.423, allocations: 349.5 kB / 451.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.281e-05/0.4231, allocations: 109.4 kB / 451.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.303e-05/0.4232, allocations: 8 kB / 451.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.4236, allocations: 31.97 kB / 451.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.4237, allocations: 11.98 kB / 451.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.4237, allocations: 7.984 kB / 451.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000159/0.4239, allocations: 127.2 kB / 451.4 MB, free: 12.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007078/0.4246, allocations: 125.6 kB / 451.6 MB, free: 12.09 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.001294/0.4259, allocations: 338.2 kB / 451.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007048/0.4267, allocations: 225.6 kB / 452.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4267, allocations: 0 / 452.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.4269, allocations: 79.92 kB / 452.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.4273, allocations: 18.08 kB / 452.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009679/0.4283, allocations: 342.1 kB / 452.5 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005758/0.4289, allocations: 0.7666 MB / 453.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of SimCode: time 1.353e-06/0.4289, allocations: 0 / 453.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Templates: time 0.01195/0.4408, allocations: 4.315 MB / 457.6 MB, free: 6.023 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoisePropertiesCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.cpp:29:\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesInitialize.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_=tmp70;\n ^~~~~~~~~~~~~~~~~~~~~\n _noise_P_state_\n./OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoisePropertiesCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Blocks.Examples.NoiseExamples.NormalNoisePropertiesCalcHelperMain.o] Error 1\n'