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.001033/0.001033, allocations: 169.7 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.207/1.207, 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.001472/0.001472, allocations: 97.36 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.01643/0.01643, allocations: 3.05 MB / 265.5 MB, free: 24.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.198e-05, allocations: 7.984 kB / 312.9 MB, free: 8.883 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2378, allocations: 39.37 MB / 352.2 MB, free: 37.4 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08691/0.3247, allocations: 69.89 MB / 422.1 MB, free: 1.676 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.325, allocations: 83.89 kB / 422.2 MB, free: 1.594 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.01798/0.343, allocations: 6.485 MB / 428.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.343, allocations: 4 kB / 428.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.343, allocations: 4 kB / 428.7 MB, free: 11.06 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.0008235/0.3439, allocations: 0.528 MB / 429.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3439, allocations: 8.031 kB / 429.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.64e-05/0.344, allocations: 46.55 kB / 429.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001826/0.3442, allocations: 31.8 kB / 429.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.3445, allocations: 246.6 kB / 429.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.3445, allocations: 12.28 kB / 429.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.3446, allocations: 27.89 kB / 429.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.3449, allocations: 188.1 kB / 429.8 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3449, allocations: 0 / 429.8 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.345, allocations: 11.98 kB / 429.8 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.345, allocations: 0 / 429.8 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.3452, allocations: 99.98 kB / 429.9 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000955/0.3461, allocations: 0.6524 MB / 430.5 MB, free: 9.059 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.3468, allocations: 253.6 kB / 430.8 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.3469, allocations: 90.77 kB / 430.9 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.347, allocations: 0 / 430.9 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.3472, allocations: 172.9 kB / 431 MB, free: 8.508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.293e-06/0.3472, allocations: 0 / 431 MB, free: 8.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004103/0.3476, allocations: 200 kB / 431.2 MB, free: 8.309 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.3477, allocations: 89.28 kB / 431.3 MB, free: 8.203 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.3479, allocations: 191 kB / 431.5 MB, free: 8.008 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.765e-05/0.348, allocations: 41.64 kB / 431.6 MB, free: 7.961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.36e-05/0.348, allocations: 128.5 kB / 431.7 MB, free: 7.832 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.451e-05/0.3481, allocations: 74.95 kB / 431.8 MB, free: 7.758 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/0.3481, allocations: 4 kB / 431.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3483, allocations: 334.8 kB / 432.1 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.3484, allocations: 83.98 kB / 432.2 MB, free: 7.336 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.3486, allocations: 114 kB / 432.3 MB, free: 7.219 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3488, allocations: 88.3 kB / 432.4 MB, free: 7.133 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3488, allocations: 4 kB / 432.4 MB, free: 7.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004874/0.3493, allocations: 286.2 kB / 432.6 MB, free: 6.844 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3493, allocations: 4 kB / 432.7 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.3493, allocations: 0 / 432.7 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3494, allocations: 4 kB / 432.7 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.3496, allocations: 75.83 kB / 432.7 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3497, allocations: 0 / 432.7 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.3498, allocations: 51.75 kB / 432.8 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.3499, allocations: 15.98 kB / 432.8 MB, free: 6.695 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.0001065/0.35, allocations: 125.4 kB / 432.9 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.35, allocations: 27.67 kB / 432.9 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.3501, allocations: 17.66 kB / 433 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3501, allocations: 7.984 kB / 433 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3501, allocations: 3.938 kB / 433 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3501, allocations: 0 / 433 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000809/0.3509, allocations: 0.5857 MB / 433.6 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3509, allocations: 0 / 433.6 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.3512, allocations: 55.89 kB / 433.6 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3512, allocations: 0 / 433.6 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.3512, allocations: 11.98 kB / 433.6 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3512, allocations: 0 / 433.6 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3513, allocations: 4 kB / 433.6 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005523/0.3518, allocations: 416.9 kB / 434 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.3519, allocations: 104.8 kB / 434.1 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.3519, allocations: 8 kB / 434.1 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.3521, allocations: 31.97 kB / 434.2 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.3522, allocations: 23.92 kB / 434.2 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.3522, allocations: 4 kB / 434.2 MB, free: 5.184 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.3524, allocations: 153.5 kB / 434.4 MB, free: 5.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3524, allocations: 0 / 434.4 MB, free: 5.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003815/0.3527, allocations: 91.88 kB / 434.4 MB, free: 4.945 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.001068/0.3538, allocations: 1.106 MB / 435.6 MB, free: 3.816 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.3542, allocations: 233.8 kB / 435.8 MB, free: 3.582 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3542, allocations: 4 kB / 435.8 MB, free: 3.578 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.3544, allocations: 85.27 kB / 435.9 MB, free: 3.496 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.3546, allocations: 20.11 kB / 435.9 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008142/0.3554, allocations: 415 kB / 436.3 MB, free: 3.035 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.3558, allocations: 0.7477 MB / 437 MB, free: 2.262 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000126/0.3559, allocations: 34.05 kB / 437.1 MB, free: 2.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.3561, allocations: 63.41 kB / 437.1 MB, free: 2.168 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3561, allocations: 7.938 kB / 437.1 MB, free: 2.16 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.3735, allocations: 5.213 MB / 442.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.3738, allocations: 181.9 kB / 442.5 MB, free: 12.85 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_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: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_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: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_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