Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.283/2.283, allocations: 248.5 MB / 261 MB, free: 6.133 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 182.7 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.2 MB / 0.571 GB, free: 11.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 97.56 kB / 0.6754 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.032e-05/5.057e-05, allocations: 0 / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2153, allocations: 106.3 MB / 0.8907 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8929/1.108, allocations: 135.4 MB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000442/1.109, allocations: 78.77 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05258/1.161, allocations: 7.876 MB / 1.031 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.275e-06/1.161, allocations: 0 / 1.031 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.998e-05/1.162, allocations: 4 kB / 1.031 GB, free: 9.238 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001407/1.163, allocations: 0.5307 MB / 1.031 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/1.163, allocations: 12.03 kB / 1.031 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.671e-05/1.163, allocations: 44.67 kB / 1.031 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/1.163, allocations: 19.81 kB / 1.031 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/1.164, allocations: 261.2 kB / 1.031 GB, free: 8.305 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/1.164, allocations: 11.06 kB / 1.031 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.178e-05/1.165, allocations: 10.94 kB / 1.031 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/1.165, allocations: 91.86 kB / 1.032 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.165, allocations: 0 / 1.032 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/1.165, allocations: 7.25 kB / 1.032 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/1.165, allocations: 0 / 1.032 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/1.165, allocations: 52.23 kB / 1.032 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/1.167, allocations: 467.4 kB / 1.032 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/1.168, allocations: 161.1 kB / 1.032 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/1.168, allocations: 39.03 kB / 1.032 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/1.168, allocations: 0 / 1.032 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003833/1.169, allocations: 117.6 kB / 1.032 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 3.236e-06/1.169, allocations: 0 / 1.032 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0006158/1.169, allocations: 128.2 kB / 1.032 GB, free: 7.328 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/1.169, allocations: 51.41 kB / 1.033 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/1.17, allocations: 190.4 kB / 1.033 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.414e-05/1.17, allocations: 25.7 kB / 1.033 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/1.17, allocations: 122 kB / 1.033 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.025e-05/1.17, allocations: 34.34 kB / 1.033 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/1.17, allocations: 3.375 kB / 1.033 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002024/1.17, allocations: 334 kB / 1.033 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/1.171, allocations: 30.69 kB / 1.033 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003961/1.171, allocations: 119.2 kB / 1.033 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/1.171, allocations: 38.98 kB / 1.033 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.171, allocations: 0 / 1.033 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005173/1.172, allocations: 163.7 kB / 1.034 GB, free: 6.297 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/1.172, allocations: 4 kB / 1.034 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.172, allocations: 3.984 kB / 1.034 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/1.172, allocations: 4 kB / 1.034 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/1.172, allocations: 19.42 kB / 1.034 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/1.172, allocations: 4 kB / 1.034 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/1.173, allocations: 35.45 kB / 1.034 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/1.173, allocations: 8 kB / 1.034 GB, free: 6.227 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * 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.0002018/1.173, allocations: 119.8 kB / 1.034 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-05/1.173, allocations: 19.77 kB / 1.034 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/1.173, allocations: 23.58 kB / 1.034 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/1.173, allocations: 4 kB / 1.034 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.173, allocations: 224 / 1.034 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/1.173, allocations: 0 / 1.034 GB, free: 6.082 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/1.175, allocations: 0.4949 MB / 1.034 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.175, allocations: 0 / 1.034 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/1.175, allocations: 15.3 kB / 1.034 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/1.175, allocations: 0 / 1.034 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/1.175, allocations: 4 kB / 1.034 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/1.175, allocations: 0 / 1.034 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.175, allocations: 0 / 1.034 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005156/1.176, allocations: 230.3 kB / 1.035 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/1.176, allocations: 96.3 kB / 1.035 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/1.176, allocations: 4 kB / 1.035 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/1.176, allocations: 23.66 kB / 1.035 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/1.176, allocations: 19.34 kB / 1.035 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.849e-05/1.177, allocations: 4 kB / 1.035 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002418/1.177, allocations: 142.6 kB / 1.035 GB, free: 5.074 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.975e-06/1.177, allocations: 0 / 1.035 GB, free: 5.074 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005652/1.177, allocations: 50.38 kB / 1.035 GB, free: 5.031 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001497/1.179, allocations: 0.8354 MB / 1.036 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005875/1.18, allocations: 96.56 kB / 1.036 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.18, allocations: 0 / 1.036 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/1.18, allocations: 53.55 kB / 1.036 GB, free: 4.094 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007817/1.181, allocations: 47.75 kB / 1.036 GB, free: 4.055 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/1.182, allocations: 280.8 kB / 1.036 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/1.183, allocations: 0.7324 MB / 1.037 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001712/1.183, allocations: 17.55 kB / 1.037 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/1.183, allocations: 57.91 kB / 1.037 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of SimCode: time 1.753e-06/1.183, allocations: 0 / 1.037 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/1.22, allocations: 5.003 MB / 1.042 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004032/1.22, allocations: 213.4 kB / 1.042 GB, free: 13.91 MB / 0.6667 GB Error: Error building simulator. Build log: clang -Os -fPIC -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/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_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 -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/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.o Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c In file included from Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_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 Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources/plotFree.c:8:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.o] Error 1