Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties.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.UniformNoiseProperties,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoiseProperties,fileNamePrefix="Modelica_Noise_Modelica_Noise_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.1+maint.om/package.mo): time 0.005002/0.005002, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.147/1.147, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001548/0.001548, allocations: 113.3 kB / 226.2 MB, free: 10.11 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.01895/0.01895, allocations: 3.108 MB / 268.7 MB, free: 15.46 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004583, allocations: 13.94 kB / 318.7 MB, free: 63.17 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07289/0.07336, allocations: 39.4 MB / 358.1 MB, free: 23.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.225/0.2985, allocations: 69.98 MB / 428.1 MB, free: 18.92 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.2987, allocations: 80.69 kB / 428.2 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.01626/0.315, allocations: 6.517 MB / 434.7 MB, free: 18.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.315, allocations: 3.531 kB / 434.7 MB, free: 18.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.315, allocations: 3.844 kB / 434.7 MB, free: 18.17 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007215/0.3157, allocations: 0.5502 MB / 435.2 MB, free: 17.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3158, allocations: 11.73 kB / 435.2 MB, free: 17.72 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.3158, allocations: 47.88 kB / 435.3 MB, free: 17.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.316, allocations: 34.23 kB / 435.3 MB, free: 17.67 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.3162, allocations: 245.6 kB / 435.6 MB, free: 17.45 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.3162, allocations: 11.41 kB / 435.6 MB, free: 17.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.3163, allocations: 26.64 kB / 435.6 MB, free: 17.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.3167, allocations: 240.8 kB / 435.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.3167, allocations: 0 / 435.8 MB, free: 17.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.3167, allocations: 11.48 kB / 435.8 MB, free: 17.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3168, allocations: 3.812 kB / 435.9 MB, free: 17.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.3172, allocations: 177 kB / 436 MB, free: 17.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007569/0.3179, allocations: 0.66 MB / 436.7 MB, free: 16.99 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009389/0.3189, allocations: 386.1 kB / 437.1 MB, free: 16.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.3189, allocations: 11.41 kB / 437.1 MB, free: 16.92 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/0.3193, allocations: 215.2 kB / 437.3 MB, free: 16.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.333e-06/0.3193, allocations: 3.719 kB / 437.3 MB, free: 16.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009375/0.3202, allocations: 0.5024 MB / 437.8 MB, free: 16.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.3203, allocations: 85.64 kB / 437.9 MB, free: 16.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.3204, allocations: 190.5 kB / 438.1 MB, free: 16.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.3205, allocations: 33.42 kB / 438.1 MB, free: 16.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.3205, allocations: 128.9 kB / 438.2 MB, free: 16.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.3206, allocations: 75.92 kB / 438.3 MB, free: 16.33 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.415e-05/0.3206, allocations: 3.562 kB / 438.3 MB, free: 16.33 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.023e-05/0.3207, allocations: 336.7 kB / 438.6 MB, free: 16.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/0.321, allocations: 136 kB / 438.8 MB, free: 16.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.3213, allocations: 172.7 kB / 438.9 MB, free: 15.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.3215, allocations: 145.3 kB / 439.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3216, allocations: 4 kB / 439.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006417/0.3222, allocations: 380.9 kB / 439.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3222, allocations: 15.11 kB / 439.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.3223, allocations: 4.031 kB / 439.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3223, allocations: 0 / 439.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.3225, allocations: 74.12 kB / 439.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3225, allocations: 7.812 kB / 439.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.3227, allocations: 53.41 kB / 439.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.3227, allocations: 11.12 kB / 439.6 MB, free: 15.89 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,noise.localSeed,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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.0001194/0.3229, allocations: 136.2 kB / 439.7 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.3229, allocations: 19.31 kB / 439.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.748e-05/0.323, allocations: 31.98 kB / 439.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.323, allocations: 0 / 439.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.323, allocations: 3.875 kB / 439.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.323, allocations: 3.938 kB / 439.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009482/0.324, allocations: 0.6903 MB / 440.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.324, allocations: 0 / 440.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.3242, allocations: 63.25 kB / 440.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3242, allocations: 0 / 440.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.3242, allocations: 3.875 kB / 440.6 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3243, allocations: 7.953 kB / 440.6 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3243, allocations: 3.984 kB / 440.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000932/0.3252, allocations: 0.5562 MB / 441.1 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.3253, allocations: 92.67 kB / 441.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.3253, allocations: 11.55 kB / 441.2 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.3255, allocations: 31.17 kB / 441.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.3256, allocations: 19.62 kB / 441.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.3256, allocations: 15.08 kB / 441.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.844e-05/0.3257, allocations: 150 kB / 441.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3257, allocations: 0 / 441.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003607/0.3261, allocations: 96.88 kB / 441.5 MB, free: 14.91 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 8 (noise.localSeed,$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 (19): * Single equations (assignments): 16 * 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.001341/0.3274, allocations: 1.25 MB / 442.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006153/0.328, allocations: 350.7 kB / 443.1 MB, free: 13.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3281, allocations: 4.062 kB / 443.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.3283, allocations: 133 kB / 443.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.3285, allocations: 25.28 kB / 443.3 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.3296, allocations: 0.9431 MB / 444.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.3298, allocations: 0.7463 MB / 445 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.3299, allocations: 41.34 kB / 445 MB, free: 12.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.33, allocations: 70.12 kB / 445.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of SimCode: time 2.11e-07/0.33, allocations: 0 / 445.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01638/0.3464, allocations: 5.152 MB / 450.2 MB, free: 9.887 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.3466, allocations: 203.2 kB / 450.4 MB, free: 9.645 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_UniformNoiseProperties.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoiseProperties_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_UniformNoiseProperties_functions.o] Error 1