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: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002246/0.002251, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.29/2.29, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 89.3 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.823e-05, allocations: 4 kB / 314.9 MB, free: 9.059 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3339, allocations: 47.56 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4576, allocations: 77.58 MB / 440 MB, free: 8.629 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.4579, allocations: 67.97 kB / 440.1 MB, free: 8.562 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02395/0.4819, allocations: 5.11 MB / 445.2 MB, free: 3.488 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4819, allocations: 0.5625 kB / 445.2 MB, free: 3.488 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.4819, allocations: 4 kB / 445.2 MB, free: 3.484 MB / 331.1 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.001213/0.4832, allocations: 0.5258 MB / 445.7 MB, free: 2.914 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.4832, allocations: 8.031 kB / 445.7 MB, free: 2.906 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/0.4835, allocations: 38.14 kB / 445.8 MB, free: 2.871 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.4839, allocations: 239.5 kB / 446 MB, free: 2.598 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.484, allocations: 8.734 kB / 446 MB, free: 2.59 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/0.484, allocations: 15.95 kB / 446 MB, free: 2.574 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003477/0.4844, allocations: 96.2 kB / 446.1 MB, free: 2.48 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.4848, allocations: 138.7 kB / 446.2 MB, free: 2.34 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4848, allocations: 4 kB / 446.3 MB, free: 2.336 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.4848, allocations: 0 / 446.3 MB, free: 2.336 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.4849, allocations: 4 kB / 446.3 MB, free: 2.332 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.4863, allocations: 0.5362 MB / 446.8 MB, free: 1.758 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009486/0.4873, allocations: 224.8 kB / 447 MB, free: 1.527 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.4875, allocations: 77.03 kB / 447.1 MB, free: 1.449 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.4875, allocations: 12.06 kB / 447.1 MB, free: 1.438 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003079/0.4878, allocations: 127.8 kB / 447.2 MB, free: 1.301 MB / 331.1 MB Notification: Performance of pre-optimization done (n=22): time 2.585e-06/0.4879, allocations: 0 / 447.2 MB, free: 1.301 MB / 331.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005911/0.4885, allocations: 180.1 kB / 447.4 MB, free: 1.121 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.4885, allocations: 63.58 kB / 447.5 MB, free: 1.047 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.4888, allocations: 169.9 kB / 447.6 MB, free: 0.8711 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.4888, allocations: 33.7 kB / 447.7 MB, free: 0.832 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.489, allocations: 199 kB / 447.9 MB, free: 0.6367 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.717e-05/0.4891, allocations: 70.95 kB / 447.9 MB, free: 0.5664 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.4891, allocations: 0 / 447.9 MB, free: 0.5664 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4893, allocations: 322.8 kB / 448.2 MB, free: 248 kB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.4896, allocations: 87.98 kB / 448.3 MB, free: 160 kB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.4899, allocations: 106.8 kB / 448.4 MB, free: 48 kB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.4903, allocations: 97.25 kB / 448.5 MB, free: 15.95 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.4903, allocations: 4 kB / 448.5 MB, free: 15.95 MB / 347.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007466/0.4911, allocations: 267.1 kB / 448.8 MB, free: 15.68 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.4911, allocations: 7.984 kB / 448.8 MB, free: 15.68 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.4911, allocations: 0 / 448.8 MB, free: 15.68 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.4912, allocations: 7.953 kB / 448.8 MB, free: 15.67 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005803/0.4918, allocations: 75.89 kB / 448.9 MB, free: 15.59 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.4918, allocations: 5.828 kB / 448.9 MB, free: 15.59 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.4921, allocations: 43.72 kB / 448.9 MB, free: 15.55 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.4922, allocations: 15.94 kB / 448.9 MB, free: 15.53 MB / 347.1 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.0001853/0.4924, allocations: 120.9 kB / 449.1 MB, free: 15.41 MB / 347.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004616/0.4928, allocations: 186.9 kB / 449.2 MB, free: 15.22 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.4929, allocations: 20.52 kB / 449.3 MB, free: 15.2 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.198e-05/0.493, allocations: 21.95 kB / 449.3 MB, free: 15.18 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.493, allocations: 0 / 449.3 MB, free: 15.18 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.493, allocations: 7.938 kB / 449.3 MB, free: 15.17 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.493, allocations: 0 / 449.3 MB, free: 15.17 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.4942, allocations: 0.531 MB / 449.8 MB, free: 14.6 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.4942, allocations: 6.328 kB / 449.8 MB, free: 14.59 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.4947, allocations: 51.89 kB / 449.9 MB, free: 14.54 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.118e-06/0.4947, allocations: 8 kB / 449.9 MB, free: 14.54 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.4948, allocations: 3.984 kB / 449.9 MB, free: 14.53 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4948, allocations: 1.875 kB / 449.9 MB, free: 14.53 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4948, allocations: 0 / 449.9 MB, free: 14.53 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007294/0.4955, allocations: 363.7 kB / 450.3 MB, free: 14.16 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.445e-05/0.4956, allocations: 100.8 kB / 450.3 MB, free: 14.04 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.061e-05/0.4957, allocations: 8.062 kB / 450.4 MB, free: 14.03 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.496, allocations: 27.97 kB / 450.4 MB, free: 14 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.4961, allocations: 15.97 kB / 450.4 MB, free: 13.99 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.4962, allocations: 4 kB / 450.4 MB, free: 13.98 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.4963, allocations: 131.2 kB / 450.5 MB, free: 13.86 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4964, allocations: 0 / 450.5 MB, free: 13.86 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0005533/0.4969, allocations: 75.86 kB / 450.6 MB, free: 13.78 MB / 347.1 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.001551/0.4985, allocations: 1.047 MB / 451.7 MB, free: 12.75 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0005909/0.4991, allocations: 225.5 kB / 451.9 MB, free: 12.52 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4991, allocations: 0 / 451.9 MB, free: 12.52 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.4993, allocations: 75.92 kB / 451.9 MB, free: 12.45 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.4997, allocations: 20.05 kB / 452 MB, free: 12.43 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.5009, allocations: 419.2 kB / 452.4 MB, free: 11.98 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.5013, allocations: 0.7477 MB / 453.1 MB, free: 11.2 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.5015, allocations: 63.41 kB / 453.2 MB, free: 11.14 MB / 347.1 MB Notification: Performance of SimCode: time 9.21e-07/0.5015, allocations: 4 kB / 453.2 MB, free: 11.14 MB / 347.1 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -I"." -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 In file included from OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoisePropertiesCalcHelperMain.cpp:31: ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoisePropertiesInitialize.cpp:366:3: error: use of undeclared identifier '$PRE_P_noise_P_state_'; did you mean '_noise_P_state_'? $PRE_P_noise_P_state_.assign(tmp47); ^~~~~~~~~~~~~~~~~~~~~ _noise_P_state_ ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoiseProperties.h:214:33: note: '_noise_P_state_' declared here StatArrayDim1 _noise_P_state_; ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoisePropertiesCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoisePropertiesFMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 1 error generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoisePropertiesCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Blocks_Examples_NoiseExamples_UniformNoisePropertiesCalcHelperMain.o] Error 1