Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence.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.DrydenContinuousTurbulence,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.DrydenContinuousTurbulence,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence",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.00634/0.00634, allocations: 166.5 kB / 15.11 MB, free: 5.969 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.048/1.048, allocations: 170.8 MB / 186.6 MB, free: 0.957 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.001442/0.001442, allocations: 105.7 kB / 226.2 MB, free: 10.09 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.01852/0.01852, allocations: 3.108 MB / 268.7 MB, free: 15.44 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 13.44 kB / 318.7 MB, free: 63.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05911/0.05945, allocations: 39.4 MB / 358.1 MB, free: 23.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/0.2878, allocations: 69.87 MB / 428 MB, free: 18.92 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.2881, allocations: 82.44 kB / 428.1 MB, free: 18.92 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.02114/0.3092, allocations: 7.706 MB / 435.8 MB, free: 18.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3093, allocations: 3.875 kB / 435.8 MB, free: 18.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.3093, allocations: 3.938 kB / 435.8 MB, free: 18.12 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001039/0.3103, allocations: 0.5459 MB / 436.3 MB, free: 17.67 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3104, allocations: 11.31 kB / 436.3 MB, free: 17.67 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.3104, allocations: 42 kB / 436.4 MB, free: 17.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.3106, allocations: 31.64 kB / 436.4 MB, free: 17.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.311, allocations: 278.5 kB / 436.7 MB, free: 17.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3111, allocations: 3.938 kB / 436.7 MB, free: 17.4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.3111, allocations: 11.67 kB / 436.7 MB, free: 17.4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.3113, allocations: 133 kB / 436.8 MB, free: 17.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3114, allocations: 0 / 436.8 MB, free: 17.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3114, allocations: 0 / 436.8 MB, free: 17.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.3114, allocations: 0 / 436.8 MB, free: 17.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.3116, allocations: 86.61 kB / 436.9 MB, free: 17.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000669/0.3122, allocations: 0.5197 MB / 437.4 MB, free: 16.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.3125, allocations: 137 kB / 437.6 MB, free: 16.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.3125, allocations: 7.875 kB / 437.6 MB, free: 16.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.3127, allocations: 141.2 kB / 437.7 MB, free: 16.86 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.322e-06/0.3127, allocations: 0 / 437.7 MB, free: 16.86 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004935/0.3132, allocations: 332.5 kB / 438 MB, free: 16.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.3133, allocations: 87.81 kB / 438.1 MB, free: 16.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003276/0.3136, allocations: 218.1 kB / 438.3 MB, free: 16.53 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.3137, allocations: 33.17 kB / 438.4 MB, free: 16.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.3137, allocations: 118.3 kB / 438.5 MB, free: 16.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.3138, allocations: 50.67 kB / 438.5 MB, free: 16.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.3138, allocations: 3.5 kB / 438.5 MB, free: 16.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.3138, allocations: 326.4 kB / 438.9 MB, free: 16.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.314, allocations: 83.41 kB / 438.9 MB, free: 16.06 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.3141, allocations: 100.3 kB / 439 MB, free: 16.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.3142, allocations: 92.52 kB / 439.1 MB, free: 16.04 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3143, allocations: 0 / 439.1 MB, free: 16.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003199/0.3146, allocations: 225 kB / 439.3 MB, free: 16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3146, allocations: 3.969 kB / 439.3 MB, free: 16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3146, allocations: 14.95 kB / 439.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3146, allocations: 7.828 kB / 439.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.3148, allocations: 26.2 kB / 439.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3148, allocations: 7.953 kB / 439.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.315, allocations: 25.83 kB / 439.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.315, allocations: 13.86 kB / 439.4 MB, free: 15.96 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,whiteNoise.localSeed,$PRE.whiteNoise.state[1],whiteNoise.state[1],$PRE.whiteNoise.state[2],whiteNoise.state[2],$PRE.whiteNoise.state[3],whiteNoise.state[3],$PRE.whiteNoise.state[4],whiteNoise.state[4],$PRE.whiteNoise.r,whiteNoise.r,$PRE.whiteNoise.r_raw,whiteNoise.r_raw) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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 9.149e-05/0.3151, allocations: 137.6 kB / 439.6 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.3152, allocations: 15.53 kB / 439.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.3152, allocations: 27.23 kB / 439.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3152, allocations: 0 / 439.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3152, allocations: 4 kB / 439.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3152, allocations: 7.891 kB / 439.6 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.3154, allocations: 246.5 kB / 439.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3154, allocations: 3.984 kB / 439.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.3156, allocations: 11.62 kB / 439.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3156, allocations: 3.875 kB / 439.9 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.3156, allocations: 3.984 kB / 439.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3156, allocations: 3.875 kB / 439.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3156, allocations: 0 / 439.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004345/0.316, allocations: 318.3 kB / 440.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.3161, allocations: 96.62 kB / 440.3 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.3162, allocations: 11.36 kB / 440.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.3163, allocations: 23.11 kB / 440.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.3164, allocations: 11.75 kB / 440.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.3164, allocations: 7.922 kB / 440.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002497/0.3167, allocations: 186.1 kB / 440.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3167, allocations: 0 / 440.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004881/0.3172, allocations: 119.9 kB / 440.7 MB, free: 15.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Hw.x_scaled[1],Hw.x_scaled[2]) * Number of discrete variables: 8 ($whenCondition1,whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4],whiteNoise.r,whiteNoise.r_raw,whiteNoise.localSeed) * Number of discrete states: 4 (whiteNoise.state[1],whiteNoise.state[2],whiteNoise.state[3],whiteNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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.00104/0.3182, allocations: 1.088 MB / 441.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.3185, allocations: 194.5 kB / 441.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.3185, allocations: 3.938 kB / 441.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.3187, allocations: 75.12 kB / 442 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.3188, allocations: 19.5 kB / 442 MB, free: 14.3 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.3208, allocations: 1.525 MB / 443.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.321, allocations: 0.7425 MB / 444.3 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.699e-05/0.3211, allocations: 36.73 kB / 444.3 MB, free: 12.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.684e-05/0.3211, allocations: 44.58 kB / 444.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of SimCode: time 4.3e-07/0.3212, allocations: 0 / 444.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.3353, allocations: 5.09 MB / 449.5 MB, free: 10.21 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/0.3355, allocations: 207.8 kB / 449.7 MB, free: 9.969 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_DrydenContinuousTurbulence.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_DrydenContinuousTurbulence_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_DrydenContinuousTurbulence_functions.o] Error 1