Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise.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.UniformNoise,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise",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.005101/0.005101, allocations: 162.2 kB / 15.12 MB, free: 6.035 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.103/1.103, allocations: 170.8 MB / 186.7 MB, free: 1.113 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.001388/0.001388, allocations: 108.9 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.01951/0.01951, allocations: 3.119 MB / 268.8 MB, free: 15.44 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005226/0.0005227, allocations: 17.19 kB / 318.7 MB, free: 63.15 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08252/0.08307, allocations: 39.4 MB / 358.1 MB, free: 23.86 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.UniformNoise): time 0.001014/0.08412, allocations: 1.106 MB / 359.2 MB, free: 22.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009833/0.08511, allocations: 0.7953 MB / 360 MB, free: 21.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.08517, allocations: 0 / 360 MB, free: 21.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.101e-05/0.08527, allocations: 3.984 kB / 360 MB, free: 21.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.08565, allocations: 75.73 kB / 360.1 MB, free: 21.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.08579, allocations: 67.86 kB / 360.2 MB, free: 21.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.291e-05/0.08587, allocations: 51.86 kB / 360.2 MB, free: 21.74 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.08592, allocations: 12.16 kB / 360.2 MB, free: 21.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.693e-05/0.08599, allocations: 31.84 kB / 360.3 MB, free: 21.7 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.024e-05/0.08603, allocations: 23.86 kB / 360.3 MB, free: 21.67 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.08605, allocations: 0 / 360.3 MB, free: 21.67 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.08625, allocations: 131.8 kB / 360.4 MB, free: 21.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.08628, allocations: 11.92 kB / 360.4 MB, free: 21.53 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.08632, allocations: 33.7 kB / 360.5 MB, free: 21.49 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.08647, allocations: 124 kB / 360.6 MB, free: 21.37 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.08648, allocations: 0 / 360.6 MB, free: 21.37 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.08649, allocations: 4 kB / 360.6 MB, free: 21.37 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.0865, allocations: 0 / 360.6 MB, free: 21.37 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004605/0.08696, allocations: 387.2 kB / 361 MB, free: 20.94 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.087, allocations: 16 kB / 361 MB, free: 20.93 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.08704, allocations: 38.5 kB / 361 MB, free: 20.88 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.08721, allocations: 27.89 kB / 361.1 MB, free: 20.85 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.93e-05/0.0873, allocations: 178.9 kB / 361.2 MB, free: 20.64 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.08733, allocations: 7.953 kB / 361.2 MB, free: 20.63 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.08734, allocations: 15.88 kB / 361.3 MB, free: 20.61 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.08749, allocations: 79.38 kB / 361.3 MB, free: 20.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.08751, allocations: 0 / 361.3 MB, free: 20.52 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.08753, allocations: 4 kB / 361.3 MB, free: 20.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.08754, allocations: 0 / 361.3 MB, free: 20.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.95e-05/0.08764, allocations: 35.92 kB / 361.4 MB, free: 20.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.08778, allocations: 190.5 kB / 361.6 MB, free: 20.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.08796, allocations: 97.08 kB / 361.7 MB, free: 20.13 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.08803, allocations: 41.77 kB / 361.7 MB, free: 20.09 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.08804, allocations: 0 / 361.7 MB, free: 20.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.08822, allocations: 101.1 kB / 361.8 MB, free: 19.97 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.08823, allocations: 0 / 361.8 MB, free: 19.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003023/0.08854, allocations: 149.5 kB / 361.9 MB, free: 19.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.08859, allocations: 97.09 kB / 362 MB, free: 19.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.08867, allocations: 134.1 kB / 362.2 MB, free: 19.56 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.0887, allocations: 33.7 kB / 362.2 MB, free: 19.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.08873, allocations: 92.31 kB / 362.3 MB, free: 19.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.08876, allocations: 27.78 kB / 362.3 MB, free: 19.4 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.08877, allocations: 0 / 362.3 MB, free: 19.4 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.237e-05/0.08883, allocations: 326.8 kB / 362.6 MB, free: 19.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.08892, allocations: 47.97 kB / 362.7 MB, free: 19.02 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.08901, allocations: 65.62 kB / 362.7 MB, free: 18.95 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.641e-05/0.0891, allocations: 57.98 kB / 362.8 MB, free: 18.9 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.08911, allocations: 0 / 362.8 MB, free: 18.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002072/0.08932, allocations: 157.5 kB / 363 MB, free: 18.74 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.08935, allocations: 7.984 kB / 363 MB, free: 18.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.08936, allocations: 7.922 kB / 363 MB, free: 18.72 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.08937, allocations: 0 / 363 MB, free: 18.72 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/0.08947, allocations: 12 kB / 363 MB, free: 18.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.08948, allocations: 0 / 363 MB, free: 18.71 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.08953, allocations: 19.86 kB / 363 MB, free: 18.69 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.08955, allocations: 4 kB / 363 MB, free: 18.69 MB / 250.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,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,uniformNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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 7.797e-05/0.08963, allocations: 125.8 kB / 363.1 MB, free: 18.55 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.08965, allocations: 11.86 kB / 363.1 MB, free: 18.54 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.08968, allocations: 12.7 kB / 363.2 MB, free: 18.53 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.08969, allocations: 0 / 363.2 MB, free: 18.53 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.0897, allocations: 0 / 363.2 MB, free: 18.53 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.0897, allocations: 4 kB / 363.2 MB, free: 18.53 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.08981, allocations: 181.6 kB / 363.3 MB, free: 18.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.08982, allocations: 0 / 363.3 MB, free: 18.3 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.08985, allocations: 7.984 kB / 363.3 MB, free: 18.29 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.08986, allocations: 7.953 kB / 363.4 MB, free: 18.29 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.08987, allocations: 0 / 363.4 MB, free: 18.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.08988, allocations: 0 / 363.4 MB, free: 18.29 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.08989, allocations: 0 / 363.4 MB, free: 18.29 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.09007, allocations: 157.8 kB / 363.5 MB, free: 18.11 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.09011, allocations: 85.02 kB / 363.6 MB, free: 18.01 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.09014, allocations: 12 kB / 363.6 MB, free: 18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.829e-05/0.09018, allocations: 8 kB / 363.6 MB, free: 17.99 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.09022, allocations: 7.984 kB / 363.6 MB, free: 17.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.09023, allocations: 0 / 363.6 MB, free: 17.98 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.635e-05/0.09028, allocations: 114.2 kB / 363.7 MB, free: 17.87 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09029, allocations: 0 / 363.7 MB, free: 17.87 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002306/0.09052, allocations: 47.97 kB / 363.8 MB, free: 17.82 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 (uniformNoise.localSeed,$whenCondition1,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw) * Number of discrete states: 4 (uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 2 * 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.0005198/0.09105, allocations: 0.7473 MB / 364.5 MB, free: 17.05 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001988/0.09126, allocations: 99.89 kB / 364.6 MB, free: 16.96 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.09127, allocations: 0 / 364.6 MB, free: 16.96 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/0.09135, allocations: 35.98 kB / 364.7 MB, free: 16.92 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.0915, allocations: 7.953 kB / 364.7 MB, free: 16.91 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008225/0.09232, allocations: 0.6933 MB / 365.4 MB, free: 16.17 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.737e-05/0.09243, allocations: 0.6965 MB / 366.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.787e-05/0.09248, allocations: 20.14 kB / 366.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.09252, allocations: 23.44 kB / 366.1 MB, free: 15.41 MB / 250.7 MB Notification: Performance of SimCode: time 2.31e-07/0.09253, allocations: 3.938 kB / 366.1 MB, free: 15.4 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.1053, allocations: 2.635 MB / 368.7 MB, free: 12.86 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/0.1055, allocations: 195.9 kB / 368.9 MB, free: 12.62 MB / 250.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_UniformNoise.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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_UniformNoise_functions.o Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.c In file included from Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.c:2: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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_UniformNoise_functions.c:7: In file included from ./Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_UniformNoise_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_UniformNoise_functions.o] Error 1