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.001529/0.001528, allocations: 185.4 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001086/0.001086, allocations: 93.55 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003954, allocations: 8 kB / 327.1 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3322, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.461, allocations: 78.33 MB / 453 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.4614, allocations: 75.97 kB / 453 MB, free: 2.227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02626/0.4877, allocations: 5.165 MB / 458.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4878, allocations: 3.938 kB / 458.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.784e-05/0.4878, allocations: 4 kB / 458.2 MB, free: 13.04 MB / 346.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.001446/0.4892, allocations: 0.5519 MB / 458.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.4893, allocations: 12.03 kB / 458.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.4895, allocations: 46.55 kB / 458.8 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003063/0.4898, allocations: 39.7 kB / 458.9 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.4902, allocations: 235.6 kB / 459.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.4903, allocations: 23.95 kB / 459.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-05/0.4904, allocations: 19.94 kB / 459.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008911/0.4913, allocations: 218.4 kB / 459.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.4913, allocations: 0 / 459.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/0.4914, allocations: 8 kB / 459.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.4914, allocations: 7.984 kB / 459.4 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008714/0.4923, allocations: 180.1 kB / 459.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.494, allocations: 0.6059 MB / 460.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.4961, allocations: 377.9 kB / 460.5 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.4962, allocations: 4 kB / 460.5 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007329/0.4969, allocations: 188.5 kB / 460.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.567e-06/0.497, allocations: 3.938 kB / 460.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.002014/0.499, allocations: 497 kB / 461.2 MB, free: 9.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.4991, allocations: 59.78 kB / 461.2 MB, free: 9.793 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.4994, allocations: 194.8 kB / 461.4 MB, free: 9.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.423e-05/0.4995, allocations: 41.69 kB / 461.5 MB, free: 9.547 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.4997, allocations: 195 kB / 461.7 MB, free: 9.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.445e-05/0.4998, allocations: 63.08 kB / 461.7 MB, free: 9.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.4998, allocations: 8 kB / 461.7 MB, free: 9.285 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5, allocations: 318.8 kB / 462 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.5007, allocations: 151.7 kB / 462.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/0.5014, allocations: 173.4 kB / 462.4 MB, free: 8.641 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006721/0.5021, allocations: 158.5 kB / 462.5 MB, free: 8.488 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.5021, allocations: 0 / 462.5 MB, free: 8.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001579/0.5037, allocations: 397.1 kB / 462.9 MB, free: 8.094 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.5037, allocations: 8 kB / 462.9 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.5038, allocations: 3.984 kB / 462.9 MB, free: 8.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.5038, allocations: 8 kB / 462.9 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/0.5044, allocations: 71.89 kB / 463 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.5044, allocations: 0 / 463 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.5048, allocations: 59.59 kB / 463.1 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.5049, allocations: 12 kB / 463.1 MB, free: 7.934 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 () * Number of clocked 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.0002632/0.5051, allocations: 142.1 kB / 463.2 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.5052, allocations: 23.7 kB / 463.2 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.5053, allocations: 21.88 kB / 463.2 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5053, allocations: 0 / 463.2 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.5054, allocations: 4 kB / 463.3 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.5054, allocations: 3.984 kB / 463.3 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.5076, allocations: 0.6932 MB / 464 MB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.5076, allocations: 0 / 464 MB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/0.5082, allocations: 55.95 kB / 464 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.056e-06/0.5082, allocations: 0 / 464 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.975e-05/0.5082, allocations: 8 kB / 464 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.5082, allocations: 0 / 464 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.5083, allocations: 0 / 464 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.5103, allocations: 0.5416 MB / 464.6 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.5104, allocations: 104.8 kB / 464.7 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.572e-05/0.5105, allocations: 11.98 kB / 464.7 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.5109, allocations: 23.98 kB / 464.7 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/0.511, allocations: 19.97 kB / 464.7 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.511, allocations: 4 kB / 464.7 MB, free: 6.184 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002343/0.5113, allocations: 147.2 kB / 464.9 MB, free: 6.039 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5113, allocations: 4 kB / 464.9 MB, free: 6.035 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006193/0.5119, allocations: 87.91 kB / 464.9 MB, free: 5.949 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]) * Number of clocked states: 0 () * 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.003002/0.5149, allocations: 1.217 MB / 466.2 MB, free: 4.727 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001479/0.5164, allocations: 346.6 kB / 466.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5165, allocations: 0 / 466.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006351/0.5171, allocations: 131.9 kB / 466.6 MB, free: 4.254 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.5176, allocations: 23.92 kB / 466.7 MB, free: 4.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.5197, allocations: 0.9884 MB / 467.6 MB, free: 3.184 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.5203, allocations: 0.7479 MB / 468.4 MB, free: 2.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.5206, allocations: 71.39 kB / 468.5 MB, free: 2.34 MB / 346.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5206, allocations: 0 / 468.5 MB, free: 2.34 MB / 346.7 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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/OMCompiler/build/bin/../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