Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo", uses=false) Using package Modelica_Noise with version 1.0 Beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004812/0.004812, allocations: 163.9 kB / 15.11 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.191/1.191, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001464/0.001464, allocations: 115.1 kB / 226.2 MB, free: 8.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo): time 0.01841/0.01841, allocations: 3.108 MB / 268.7 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.000365, allocations: 8 kB / 318.7 MB, free: 44.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0711/0.07149, allocations: 39.39 MB / 358.1 MB, free: 5.434 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise): time 0.00124/0.07277, allocations: 1.122 MB / 359.2 MB, free: 4.297 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.07386, allocations: 0.7993 MB / 360 MB, free: 3.492 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.385e-05/0.07392, allocations: 4 kB / 360 MB, free: 3.488 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.997e-05/0.07401, allocations: 3.938 kB / 360 MB, free: 3.484 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.07436, allocations: 67.73 kB / 360.1 MB, free: 3.418 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.0745, allocations: 59.8 kB / 360.1 MB, free: 3.359 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.714e-05/0.07457, allocations: 43.95 kB / 360.2 MB, free: 3.316 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.744e-05/0.07463, allocations: 4.172 kB / 360.2 MB, free: 3.312 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.967e-05/0.07469, allocations: 35.84 kB / 360.2 MB, free: 3.277 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.07474, allocations: 23.91 kB / 360.3 MB, free: 3.254 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.07476, allocations: 0 / 360.3 MB, free: 3.254 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.07494, allocations: 107.8 kB / 360.4 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.192e-05/0.07498, allocations: 19.91 kB / 360.4 MB, free: 3.129 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.07502, allocations: 33.7 kB / 360.4 MB, free: 3.09 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.07519, allocations: 124 kB / 360.5 MB, free: 2.969 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.07521, allocations: 0 / 360.5 MB, free: 2.969 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.07521, allocations: 4 kB / 360.5 MB, free: 2.965 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.07522, allocations: 0 / 360.5 MB, free: 2.965 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004615/0.07569, allocations: 387.1 kB / 360.9 MB, free: 2.539 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.07573, allocations: 12.02 kB / 360.9 MB, free: 2.527 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.489e-05/0.07577, allocations: 30.56 kB / 361 MB, free: 2.488 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.07595, allocations: 23.89 kB / 361 MB, free: 2.465 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.07606, allocations: 186.8 kB / 361.2 MB, free: 2.242 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.07609, allocations: 7.953 kB / 361.2 MB, free: 2.234 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.07611, allocations: 4 kB / 361.2 MB, free: 2.23 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.07627, allocations: 87.31 kB / 361.3 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.07629, allocations: 0 / 361.3 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.0763, allocations: 0 / 361.3 MB, free: 2.133 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.07631, allocations: 7.938 kB / 361.3 MB, free: 2.125 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.95e-05/0.07642, allocations: 39.91 kB / 361.3 MB, free: 2.086 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.0766, allocations: 190.5 kB / 361.5 MB, free: 1.848 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.07679, allocations: 93.08 kB / 361.6 MB, free: 1.738 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.07681, allocations: 4 kB / 361.6 MB, free: 1.734 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.077, allocations: 97.2 kB / 361.7 MB, free: 1.621 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.07701, allocations: 0 / 361.7 MB, free: 1.621 MB / 234.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003462/0.07736, allocations: 238.7 kB / 361.9 MB, free: 1.363 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.07741, allocations: 85.09 kB / 362 MB, free: 1.262 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.07751, allocations: 130.1 kB / 362.1 MB, free: 1.121 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.07753, allocations: 37.7 kB / 362.2 MB, free: 1.078 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.07757, allocations: 96.45 kB / 362.3 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.0776, allocations: 23.66 kB / 362.3 MB, free: 0.957 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.07761, allocations: 4 kB / 362.3 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.54e-05/0.07768, allocations: 322.8 kB / 362.6 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.204e-05/0.07776, allocations: 55.97 kB / 362.7 MB, free: 0.5742 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.85e-05/0.07785, allocations: 65.48 kB / 362.7 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.459e-05/0.07794, allocations: 55.98 kB / 362.8 MB, free: 464 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.07795, allocations: 0 / 362.8 MB, free: 464 kB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002101/0.07817, allocations: 157.5 kB / 362.9 MB, free: 300 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.07819, allocations: 4 kB / 362.9 MB, free: 296 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.0782, allocations: 0 / 362.9 MB, free: 296 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.07822, allocations: 4.031 kB / 362.9 MB, free: 292 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.07831, allocations: 23.92 kB / 363 MB, free: 268 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.07833, allocations: 0 / 363 MB, free: 268 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.07838, allocations: 11.84 kB / 363 MB, free: 256 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.07839, allocations: 4 kB / 363 MB, free: 252 kB / 234.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: 14 ($whenCondition1,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,uniformNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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 8.959e-05/0.07849, allocations: 125.9 kB / 363.1 MB, free: 116 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.07851, allocations: 15.86 kB / 363.1 MB, free: 100 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.07855, allocations: 12.7 kB / 363.1 MB, free: 84 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.07855, allocations: 3.938 kB / 363.1 MB, free: 80 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.07856, allocations: 0 / 363.1 MB, free: 80 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.07857, allocations: 0 / 363.1 MB, free: 80 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.07874, allocations: 177.6 kB / 363.3 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.07875, allocations: 0 / 363.3 MB, free: 15.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.07879, allocations: 12 kB / 363.3 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.07881, allocations: 3.953 kB / 363.3 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.07882, allocations: 3.984 kB / 363.3 MB, free: 15.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.07883, allocations: 3.938 kB / 363.3 MB, free: 15.83 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.07884, allocations: 4 kB / 363.3 MB, free: 15.83 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.07909, allocations: 163.8 kB / 363.5 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.07916, allocations: 88.97 kB / 363.6 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.07919, allocations: 4 kB / 363.6 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.125e-05/0.07923, allocations: 7.984 kB / 363.6 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.07928, allocations: 4 kB / 363.6 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.07929, allocations: 3.984 kB / 363.6 MB, free: 15.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.693e-05/0.07937, allocations: 107.3 kB / 363.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07938, allocations: 0 / 363.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.07963, allocations: 47.98 kB / 363.7 MB, free: 15.36 MB / 250.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: 8 (uniformNoise.localSeed,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw) * Number of discrete states: 4 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007351/0.08037, allocations: 0.8448 MB / 364.6 MB, free: 14.49 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.08062, allocations: 103.9 kB / 364.7 MB, free: 14.39 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.08063, allocations: 0 / 364.7 MB, free: 14.39 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.037e-05/0.08072, allocations: 31.98 kB / 364.7 MB, free: 14.36 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.08084, allocations: 4 kB / 364.7 MB, free: 14.36 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.08193, allocations: 0.8406 MB / 365.6 MB, free: 13.46 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.0822, allocations: 0.6965 MB / 366.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.997e-05/0.08225, allocations: 11.98 kB / 366.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.0823, allocations: 23.42 kB / 366.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of SimCode: time 2.51e-07/0.0823, allocations: 0 / 366.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/0.09544, allocations: 2.62 MB / 368.9 MB, free: 10.15 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.09564, allocations: 198.5 kB / 369.1 MB, free: 9.902 MB / 250.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include" -c -o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Resources/Include/ModelicaRandom.c:128:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.o] Error 1