Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties",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.001274/0.001274, allocations: 169.5 kB / 12.72 MB, free: 2.594 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.162/1.162, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001279/0.00128, allocations: 95.53 kB / 223.2 MB, free: 4.055 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.01662/0.01662, allocations: 3.059 MB / 265.5 MB, free: 24.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.973e-05, allocations: 4 kB / 312.9 MB, free: 8.898 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2151, allocations: 39.38 MB / 352.2 MB, free: 37.39 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0848/0.2999, allocations: 70.39 MB / 422.6 MB, free: 1.168 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.3002, allocations: 79.95 kB / 422.7 MB, free: 1.09 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.02221/0.3224, allocations: 7.982 MB / 430.7 MB, free: 9.078 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3224, allocations: 0 / 430.7 MB, free: 9.078 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.3225, allocations: 12 kB / 430.7 MB, free: 9.066 MB / 298.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.0009796/0.3235, allocations: 0.5474 MB / 431.2 MB, free: 8.469 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3235, allocations: 8.031 kB / 431.2 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.752e-05/0.3236, allocations: 50.55 kB / 431.3 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.3238, allocations: 27.8 kB / 431.3 MB, free: 8.375 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.3241, allocations: 246.6 kB / 431.6 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.3241, allocations: 16.28 kB / 431.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/0.3242, allocations: 19.95 kB / 431.6 MB, free: 8.059 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.3245, allocations: 188.1 kB / 431.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3245, allocations: 0 / 431.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.3245, allocations: 4 kB / 431.8 MB, free: 7.859 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.3246, allocations: 4 kB / 431.8 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/0.3248, allocations: 99.97 kB / 431.9 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009745/0.3257, allocations: 0.6563 MB / 432.5 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.3264, allocations: 258.5 kB / 432.8 MB, free: 6.773 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.3265, allocations: 89.83 kB / 432.9 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.3266, allocations: 4 kB / 432.9 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.3268, allocations: 164.9 kB / 433.1 MB, free: 6.496 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.3268, allocations: 0 / 433.1 MB, free: 6.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004/0.3272, allocations: 203.8 kB / 433.3 MB, free: 6.293 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.3273, allocations: 97.34 kB / 433.3 MB, free: 6.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.3275, allocations: 187 kB / 433.5 MB, free: 5.988 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.3275, allocations: 37.69 kB / 433.6 MB, free: 5.945 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.3276, allocations: 116.6 kB / 433.7 MB, free: 5.828 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.3277, allocations: 74.91 kB / 433.8 MB, free: 5.754 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/0.3277, allocations: 8 kB / 433.8 MB, free: 5.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3278, allocations: 338.8 kB / 434.1 MB, free: 5.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.328, allocations: 87.92 kB / 434.2 MB, free: 5.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.3282, allocations: 110 kB / 434.3 MB, free: 5.207 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.3283, allocations: 92.31 kB / 434.4 MB, free: 5.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3283, allocations: 0 / 434.4 MB, free: 5.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004426/0.3288, allocations: 286.2 kB / 434.7 MB, free: 4.832 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.3288, allocations: 4 kB / 434.7 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.3288, allocations: 8.031 kB / 434.7 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.3288, allocations: 0 / 434.7 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.3291, allocations: 67.89 kB / 434.7 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.3292, allocations: 7.938 kB / 434.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.3293, allocations: 51.66 kB / 434.8 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.3294, allocations: 12 kB / 434.8 MB, free: 4.684 MB / 298.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 () * 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.000102/0.3295, allocations: 125.5 kB / 434.9 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.3295, allocations: 31.61 kB / 435 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.3296, allocations: 21.66 kB / 435 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3296, allocations: 0 / 435 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3296, allocations: 3.984 kB / 435 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3296, allocations: 4 kB / 435 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007796/0.3304, allocations: 0.578 MB / 435.6 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3304, allocations: 4 kB / 435.6 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.3307, allocations: 55.89 kB / 435.6 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3307, allocations: 0 / 435.6 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.3307, allocations: 11.98 kB / 435.6 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3307, allocations: 0 / 435.6 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3307, allocations: 4 kB / 435.6 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.3313, allocations: 421 kB / 436 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.3314, allocations: 108.6 kB / 436.2 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.3314, allocations: 12.05 kB / 436.2 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.3316, allocations: 27.98 kB / 436.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.3317, allocations: 27.91 kB / 436.2 MB, free: 3.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3317, allocations: 4 kB / 436.2 MB, free: 3.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.3319, allocations: 153.5 kB / 436.4 MB, free: 3.012 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3319, allocations: 0 / 436.4 MB, free: 3.012 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005277/0.3324, allocations: 131.8 kB / 436.5 MB, free: 2.883 MB / 298.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]) * 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.001417/0.3338, allocations: 1.195 MB / 437.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003955/0.3342, allocations: 229.8 kB / 437.9 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3343, allocations: 3.938 kB / 437.9 MB, free: 1.434 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.3344, allocations: 87.86 kB / 438 MB, free: 1.348 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.3346, allocations: 20.12 kB / 438 MB, free: 1.328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008096/0.3354, allocations: 442.9 kB / 438.5 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.3358, allocations: 0.7438 MB / 439.2 MB, free: 88 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.3359, allocations: 34.94 kB / 439.2 MB, free: 56 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.3361, allocations: 71.45 kB / 439.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3361, allocations: 0 / 439.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.3533, allocations: 5.874 MB / 445.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/0.3535, allocations: 184.2 kB / 445.4 MB, free: 10.02 MB / 314.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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_NormalNoiseProperties.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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_NormalNoiseProperties_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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_NormalNoiseProperties_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_NormalNoiseProperties_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_NormalNoiseProperties_functions.o] Error 1