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.009053/0.009053, allocations: 164.8 kB / 15.11 MB, free: 6.039 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.184/1.184, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001516/0.001516, allocations: 109.3 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.01933/0.01933, allocations: 3.109 MB / 268.7 MB, free: 15.45 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003925, allocations: 12 kB / 318.7 MB, free: 63.17 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06244/0.06285, allocations: 39.39 MB / 358.1 MB, free: 23.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.228/0.2909, allocations: 70.48 MB / 428.6 MB, free: 18.52 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.2911, allocations: 82.16 kB / 428.7 MB, free: 18.52 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.02048/0.3116, allocations: 8.004 MB / 436.7 MB, free: 17.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3116, allocations: 0 / 436.7 MB, free: 17.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.3117, allocations: 3.906 kB / 436.7 MB, free: 17.68 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.0009641/0.3126, allocations: 0.5842 MB / 437.3 MB, free: 17.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3127, allocations: 15.61 kB / 437.3 MB, free: 17.21 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.901e-05/0.3127, allocations: 48.7 kB / 437.3 MB, free: 17.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.3129, allocations: 34.66 kB / 437.4 MB, free: 17.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.3132, allocations: 241 kB / 437.6 MB, free: 16.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.3133, allocations: 11.41 kB / 437.6 MB, free: 16.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.3133, allocations: 22.83 kB / 437.6 MB, free: 16.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.3138, allocations: 251 kB / 437.9 MB, free: 16.87 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3138, allocations: 0 / 437.9 MB, free: 16.87 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.3138, allocations: 7.25 kB / 437.9 MB, free: 16.86 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3139, allocations: 3.875 kB / 437.9 MB, free: 16.86 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/0.3143, allocations: 178.5 kB / 438.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009253/0.3152, allocations: 0.6506 MB / 438.7 MB, free: 16.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009975/0.3162, allocations: 401.2 kB / 439.1 MB, free: 16.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.3163, allocations: 0 / 439.1 MB, free: 16.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003627/0.3166, allocations: 215.4 kB / 439.3 MB, free: 16.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.242e-06/0.3167, allocations: 4 kB / 439.3 MB, free: 16.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009752/0.3176, allocations: 0.4975 MB / 439.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.3177, allocations: 84.92 kB / 439.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.3178, allocations: 187.3 kB / 440.1 MB, free: 15.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.3179, allocations: 41.25 kB / 440.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.3179, allocations: 131 kB / 440.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.318, allocations: 73.62 kB / 440.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/0.318, allocations: 7.688 kB / 440.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.239e-05/0.3181, allocations: 337.4 kB / 440.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.3184, allocations: 142.2 kB / 440.8 MB, free: 15.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.3187, allocations: 164.9 kB / 440.9 MB, free: 15.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.319, allocations: 139.9 kB / 441.1 MB, free: 15.13 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.319, allocations: 0 / 441.1 MB, free: 15.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007047/0.3198, allocations: 399.2 kB / 441.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3198, allocations: 7.797 kB / 441.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3198, allocations: 3.875 kB / 441.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3198, allocations: 0 / 441.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.3201, allocations: 73.8 kB / 441.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3201, allocations: 0 / 441.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.3203, allocations: 46.91 kB / 441.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.3203, allocations: 15.69 kB / 441.6 MB, free: 14.97 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.0001112/0.3205, allocations: 141 kB / 441.8 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.3205, allocations: 15.56 kB / 441.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.842e-05/0.3206, allocations: 29 kB / 441.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3206, allocations: 3.875 kB / 441.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3206, allocations: 0 / 441.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3206, allocations: 3.938 kB / 441.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.3217, allocations: 0.7099 MB / 442.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3217, allocations: 0 / 442.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.3219, allocations: 54.23 kB / 442.6 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.322, allocations: 7.938 kB / 442.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/0.322, allocations: 11.61 kB / 442.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.322, allocations: 3.984 kB / 442.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.322, allocations: 3.719 kB / 442.6 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009849/0.323, allocations: 0.5595 MB / 443.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.3231, allocations: 96.67 kB / 443.3 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.3231, allocations: 7.922 kB / 443.3 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.3233, allocations: 38.38 kB / 443.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.3234, allocations: 11.8 kB / 443.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.3234, allocations: 15.81 kB / 443.3 MB, free: 13.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.472e-05/0.3235, allocations: 143.5 kB / 443.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3235, allocations: 0 / 443.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005209/0.324, allocations: 136.8 kB / 443.6 MB, free: 13.84 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.001843/0.3259, allocations: 1.331 MB / 444.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006738/0.3266, allocations: 346.1 kB / 445.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3266, allocations: 0 / 445.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.3269, allocations: 138.9 kB / 445.4 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.3271, allocations: 24.28 kB / 445.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.3282, allocations: 0.9693 MB / 446.4 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.3284, allocations: 0.7488 MB / 447.1 MB, free: 11.3 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001234/0.3285, allocations: 29.38 kB / 447.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.3286, allocations: 66.44 kB / 447.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of SimCode: time 4.1e-07/0.3286, allocations: 0 / 447.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06245/0.3911, allocations: 5.817 MB / 453.1 MB, free: 8.434 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.3913, allocations: 197.4 kB / 453.2 MB, free: 8.199 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_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: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_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: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_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