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.005809/0.005809, allocations: 165.6 kB / 15.11 MB, free: 5.973 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.096/1.096, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001543/0.001543, allocations: 111.4 kB / 226.2 MB, free: 10.12 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.01882/0.01882, allocations: 3.116 MB / 268.7 MB, free: 15.46 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003676, allocations: 8 kB / 318.7 MB, free: 63.19 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07322/0.07361, allocations: 39.39 MB / 358.1 MB, free: 23.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2591/0.3327, allocations: 68.12 MB / 426.2 MB, free: 18.66 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.333, allocations: 82.3 kB / 426.3 MB, free: 18.66 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift64star.random. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/Math/Random/Interfaces/random.mo:7:3-7:71:writable] Warning: Unused input variable stateSize in function .Modelica_Noise.Math.Random.Generators.Xorshift128plus.random. Notification: Performance of FrontEnd - DAE generated: time 0.0131/0.3461, allocations: 4.841 MB / 431.1 MB, free: 18.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3461, allocations: 1.438 kB / 431.1 MB, free: 18.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3461, allocations: 0 / 431.1 MB, free: 18.04 MB / 282.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.000484/0.3466, allocations: 419.9 kB / 431.5 MB, free: 17.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3467, allocations: 12.92 kB / 431.6 MB, free: 17.64 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.3467, allocations: 38.94 kB / 431.6 MB, free: 17.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.3469, allocations: 22.75 kB / 431.6 MB, free: 17.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.347, allocations: 179.8 kB / 431.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3471, allocations: 7.719 kB / 431.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.3471, allocations: 7.234 kB / 431.8 MB, free: 17.38 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.3473, allocations: 80.11 kB / 431.9 MB, free: 17.33 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3473, allocations: 0.875 kB / 431.9 MB, free: 17.33 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3473, allocations: 4.125 kB / 431.9 MB, free: 17.33 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3473, allocations: 1.031 kB / 431.9 MB, free: 17.33 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.3474, allocations: 34.94 kB / 431.9 MB, free: 17.33 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.3476, allocations: 201.1 kB / 432.1 MB, free: 17.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.3478, allocations: 88.31 kB / 432.2 MB, free: 17.08 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.3479, allocations: 0.5 kB / 432.2 MB, free: 17.08 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.3481, allocations: 109.4 kB / 432.3 MB, free: 17.01 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.3481, allocations: 0 / 432.3 MB, free: 17.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004503/0.3485, allocations: 239.1 kB / 432.6 MB, free: 16.87 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.3486, allocations: 81.55 kB / 432.6 MB, free: 16.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3487, allocations: 130.5 kB / 432.8 MB, free: 16.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.3487, allocations: 34.02 kB / 432.8 MB, free: 16.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.3488, allocations: 92.64 kB / 432.9 MB, free: 16.56 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.3488, allocations: 30.34 kB / 432.9 MB, free: 16.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.3488, allocations: 0 / 432.9 MB, free: 16.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.861e-05/0.3489, allocations: 319.5 kB / 433.2 MB, free: 16.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-05/0.349, allocations: 46.59 kB / 433.3 MB, free: 16.23 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.319e-05/0.3491, allocations: 57.39 kB / 433.3 MB, free: 16.22 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.967e-05/0.3492, allocations: 46.58 kB / 433.4 MB, free: 16.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3492, allocations: 1.375 kB / 433.4 MB, free: 16.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00025/0.3495, allocations: 145 kB / 433.5 MB, free: 16.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3495, allocations: 13.27 kB / 433.5 MB, free: 16.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.3495, allocations: 2.812 kB / 433.5 MB, free: 16.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3495, allocations: 0 / 433.5 MB, free: 16.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.029e-05/0.3496, allocations: 10.86 kB / 433.5 MB, free: 16.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3496, allocations: 1.031 kB / 433.5 MB, free: 16.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.3497, allocations: 23.31 kB / 433.6 MB, free: 16.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.3497, allocations: 4.281 kB / 433.6 MB, free: 16.16 MB / 282.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): 10 * 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 8.71e-05/0.3498, allocations: 129.8 kB / 433.7 MB, free: 16.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.3498, allocations: 6.5 kB / 433.7 MB, free: 16.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.3499, allocations: 17.92 kB / 433.7 MB, free: 16.03 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3499, allocations: 1.375 kB / 433.7 MB, free: 16.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3499, allocations: 0.875 kB / 433.7 MB, free: 16.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3499, allocations: 5.344 kB / 433.7 MB, free: 16.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.35, allocations: 188.3 kB / 433.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.35, allocations: 0 / 433.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.055e-05/0.3501, allocations: 4.281 kB / 433.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3501, allocations: 1.312 kB / 433.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.3501, allocations: 4.891 kB / 433.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3501, allocations: 5.297 kB / 433.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3501, allocations: 0.9688 kB / 433.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.3504, allocations: 168.6 kB / 434.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.3504, allocations: 84.14 kB / 434.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.3504, allocations: 21.5 kB / 434.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.3505, allocations: 4.281 kB / 434.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.3505, allocations: 7.516 kB / 434.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.3505, allocations: 5.406 kB / 434.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.421e-05/0.3506, allocations: 110.1 kB / 434.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3506, allocations: 0 / 434.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.3509, allocations: 59.66 kB / 434.4 MB, free: 15.52 MB / 282.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.0006379/0.3515, allocations: 0.8418 MB / 435.2 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.3518, allocations: 127.5 kB / 435.3 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3518, allocations: 0 / 435.3 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.299e-05/0.3519, allocations: 40.22 kB / 435.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001073/0.352, allocations: 6.25 kB / 435.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009859/0.353, allocations: 0.8597 MB / 436.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.3532, allocations: 0.6927 MB / 436.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.152e-05/0.3532, allocations: 14.52 kB / 437 MB, free: 13.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.3533, allocations: 21.66 kB / 437 MB, free: 13.51 MB / 282.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3533, allocations: 4.906 kB / 437 MB, free: 13.51 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.3676, allocations: 2.82 MB / 439.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/0.3678, allocations: 203.4 kB / 440 MB, free: 12.93 MB / 282.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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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