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.007789/0.00779, allocations: 163.9 kB / 15.11 MB, free: 5.559 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.27/1.27, allocations: 170.8 MB / 186.7 MB, free: 0.8711 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.001613/0.001613, allocations: 126.5 kB / 226.2 MB, free: 10.06 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.01938/0.01938, allocations: 3.112 MB / 268.7 MB, free: 15.43 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 16 kB / 318.7 MB, free: 63.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06926/0.0696, allocations: 39.4 MB / 358.1 MB, free: 23.88 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.001591/0.07124, allocations: 1.49 MB / 359.6 MB, free: 22.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.07268, allocations: 1.193 MB / 360.8 MB, free: 21.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.07277, allocations: 7.938 kB / 360.8 MB, free: 21.17 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.945e-05/0.07287, allocations: 11.86 kB / 360.8 MB, free: 21.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003587/0.07324, allocations: 83.75 kB / 360.9 MB, free: 21.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.0736, allocations: 191.5 kB / 361.1 MB, free: 20.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.07374, allocations: 131.7 kB / 361.2 MB, free: 20.76 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.07388, allocations: 52.55 kB / 361.3 MB, free: 20.71 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.462e-05/0.07397, allocations: 75.62 kB / 361.3 MB, free: 20.63 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.416e-05/0.07408, allocations: 95.56 kB / 361.4 MB, free: 20.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.07411, allocations: 8 kB / 361.4 MB, free: 20.53 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.07446, allocations: 299.6 kB / 361.7 MB, free: 20.24 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.07451, allocations: 39.83 kB / 361.8 MB, free: 20.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.07456, allocations: 53.58 kB / 361.8 MB, free: 20.14 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.07484, allocations: 283.3 kB / 362.1 MB, free: 19.86 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.07486, allocations: 0 / 362.1 MB, free: 19.86 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.07486, allocations: 0 / 362.1 MB, free: 19.86 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.07487, allocations: 0 / 362.1 MB, free: 19.86 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009045/0.07578, allocations: 0.566 MB / 362.7 MB, free: 19.25 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.07583, allocations: 12.02 kB / 362.7 MB, free: 19.23 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.827e-05/0.07588, allocations: 50.55 kB / 362.7 MB, free: 19.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.07607, allocations: 35.7 kB / 362.8 MB, free: 19.14 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.07627, allocations: 230.7 kB / 363 MB, free: 18.88 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.0763, allocations: 12.28 kB / 363 MB, free: 18.86 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.07635, allocations: 16 kB / 363 MB, free: 18.85 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004333/0.07679, allocations: 244.1 kB / 363.3 MB, free: 18.6 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.07681, allocations: 3.938 kB / 363.3 MB, free: 18.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.07683, allocations: 11.94 kB / 363.3 MB, free: 18.58 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.07684, allocations: 4 kB / 363.3 MB, free: 18.58 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.07725, allocations: 171.9 kB / 363.4 MB, free: 18.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007944/0.07805, allocations: 0.6446 MB / 364.1 MB, free: 17.71 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009907/0.07905, allocations: 401.4 kB / 364.5 MB, free: 17.3 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.07909, allocations: 11.98 kB / 364.5 MB, free: 17.29 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/0.07946, allocations: 208.8 kB / 364.7 MB, free: 17.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.353e-06/0.07947, allocations: 0 / 364.7 MB, free: 17.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009472/0.08043, allocations: 0.5045 MB / 365.2 MB, free: 16.54 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.08048, allocations: 85.48 kB / 365.3 MB, free: 16.44 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.08065, allocations: 203.8 kB / 365.5 MB, free: 16.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.08069, allocations: 41.72 kB / 365.5 MB, free: 16.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.179e-05/0.08075, allocations: 128.4 kB / 365.7 MB, free: 16.05 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.08081, allocations: 79.06 kB / 365.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.08083, allocations: 4 kB / 365.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.544e-05/0.0809, allocations: 334.8 kB / 366.1 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.0812, allocations: 143.9 kB / 366.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.08151, allocations: 169.8 kB / 366.4 MB, free: 15.32 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.08182, allocations: 156 kB / 366.5 MB, free: 15.17 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.08183, allocations: 4 kB / 366.5 MB, free: 15.17 MB / 250.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006823/0.08252, allocations: 398.5 kB / 366.9 MB, free: 14.77 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.08255, allocations: 7.938 kB / 366.9 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.08256, allocations: 3.984 kB / 366.9 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.08258, allocations: 4 kB / 366.9 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.08287, allocations: 71.89 kB / 367 MB, free: 14.69 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.08289, allocations: 4 kB / 367 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.08305, allocations: 43.72 kB / 367 MB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.08308, allocations: 12 kB / 367.1 MB, free: 14.63 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,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): 34 * 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 0.0001218/0.08321, allocations: 145.8 kB / 367.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.08324, allocations: 19.77 kB / 367.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/0.0833, allocations: 21.88 kB / 367.2 MB, free: 14.44 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.08331, allocations: 3.984 kB / 367.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.08332, allocations: 4 kB / 367.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.08333, allocations: 3.938 kB / 367.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009523/0.08429, allocations: 0.6854 MB / 367.9 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.0843, allocations: 0 / 367.9 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.08454, allocations: 59.83 kB / 368 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.08455, allocations: 0 / 368 MB, free: 13.62 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.08458, allocations: 15.98 kB / 368 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.08459, allocations: 3.984 kB / 368 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.08459, allocations: 4 kB / 368 MB, free: 13.6 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008958/0.08549, allocations: 0.5528 MB / 368.6 MB, free: 13.02 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.841e-05/0.08554, allocations: 96.86 kB / 368.7 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.08559, allocations: 12.05 kB / 368.7 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.08576, allocations: 31.98 kB / 368.7 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.08582, allocations: 19.86 kB / 368.7 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.08584, allocations: 8 kB / 368.7 MB, free: 12.84 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.219e-05/0.08593, allocations: 149.5 kB / 368.9 MB, free: 12.7 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.08594, allocations: 0 / 368.9 MB, free: 12.7 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004009/0.08635, allocations: 107.9 kB / 369 MB, free: 12.59 MB / 250.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.001435/0.08779, allocations: 1.313 MB / 370.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006433/0.08844, allocations: 319.7 kB / 370.6 MB, free: 10.95 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.08845, allocations: 3.938 kB / 370.6 MB, free: 10.94 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.08874, allocations: 139.9 kB / 370.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.08896, allocations: 16.25 kB / 370.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.08997, allocations: 0.9594 MB / 371.7 MB, free: 9.77 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.09014, allocations: 0.7437 MB / 372.5 MB, free: 8.996 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.09026, allocations: 29.94 kB / 372.5 MB, free: 8.969 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.09037, allocations: 71.41 kB / 372.6 MB, free: 8.898 MB / 250.7 MB Notification: Performance of SimCode: time 1.001e-06/0.09038, allocations: 0 / 372.6 MB, free: 8.898 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.1082, allocations: 5.615 MB / 378.2 MB, free: 3.395 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.1084, allocations: 208.5 kB / 378.4 MB, free: 3.152 MB / 250.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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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