Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 289.7 MB / 302.2 MB, free: 2.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001308/0.001308, allocations: 177.5 kB / 371.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.1 MB / 0.6309 GB, free: 11.79 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009957/0.0009666, allocations: 89.16 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.112e-05/4.125e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3272, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.002/1.329, allocations: 142.8 MB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/1.329, allocations: 78.41 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0208/1.35, allocations: 7.862 MB / 1.127 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.673e-06/1.35, allocations: 0 / 1.127 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.2e-05/1.35, allocations: 7.938 kB / 1.127 GB, free: 37.67 MB / 0.7448 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.0008867/1.351, allocations: 0.526 MB / 1.128 GB, free: 37.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/1.351, allocations: 8.031 kB / 1.128 GB, free: 37.13 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.029e-05/1.351, allocations: 41.92 kB / 1.128 GB, free: 37.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/1.351, allocations: 26.98 kB / 1.128 GB, free: 37.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005715/1.352, allocations: 263.5 kB / 1.128 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/1.352, allocations: 11.69 kB / 1.128 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/1.352, allocations: 15.62 kB / 1.128 GB, free: 36.79 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/1.352, allocations: 91.72 kB / 1.128 GB, free: 36.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.352, allocations: 4 kB / 1.128 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/1.352, allocations: 0 / 1.128 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/1.352, allocations: 0.5 kB / 1.128 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/1.352, allocations: 54.55 kB / 1.128 GB, free: 36.69 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000851/1.353, allocations: 465 kB / 1.129 GB, free: 36.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/1.354, allocations: 156.6 kB / 1.129 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/1.354, allocations: 35.05 kB / 1.129 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/1.354, allocations: 0 / 1.129 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/1.354, allocations: 114 kB / 1.129 GB, free: 36.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/1.354, allocations: 0.5625 kB / 1.129 GB, free: 36.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002667/1.354, allocations: 123 kB / 1.129 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/1.354, allocations: 62.78 kB / 1.129 GB, free: 35.91 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/1.354, allocations: 178.2 kB / 1.129 GB, free: 35.76 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/1.354, allocations: 34.95 kB / 1.129 GB, free: 35.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/1.354, allocations: 119.2 kB / 1.129 GB, free: 35.63 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/1.355, allocations: 33.02 kB / 1.129 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/1.355, allocations: 7.375 kB / 1.129 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.599e-05/1.355, allocations: 328.6 kB / 1.13 GB, free: 35.29 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.829e-05/1.355, allocations: 30.81 kB / 1.13 GB, free: 35.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/1.355, allocations: 124.1 kB / 1.13 GB, free: 35.15 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.315e-05/1.355, allocations: 34.98 kB / 1.13 GB, free: 35.13 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.355, allocations: 4.562 kB / 1.13 GB, free: 35.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001998/1.355, allocations: 150.5 kB / 1.13 GB, free: 35 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/1.355, allocations: 4 kB / 1.13 GB, free: 35 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/1.355, allocations: 8.828 kB / 1.13 GB, free: 35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.355, allocations: 4 kB / 1.13 GB, free: 34.99 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/1.355, allocations: 16.16 kB / 1.13 GB, free: 34.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.355, allocations: 5.203 kB / 1.13 GB, free: 34.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/1.355, allocations: 42.78 kB / 1.13 GB, free: 34.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/1.356, allocations: 4 kB / 1.13 GB, free: 34.94 MB / 0.7448 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 9.706e-05/1.356, allocations: 123.2 kB / 1.13 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/1.356, allocations: 15.81 kB / 1.13 GB, free: 34.81 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.127e-05/1.356, allocations: 22.73 kB / 1.13 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/1.356, allocations: 7.891 kB / 1.13 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.356, allocations: 0.5625 kB / 1.13 GB, free: 34.8 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.356, allocations: 8.75 kB / 1.13 GB, free: 34.79 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/1.356, allocations: 496.1 kB / 1.131 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.356, allocations: 5.625 kB / 1.131 GB, free: 34.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/1.356, allocations: 4 kB / 1.131 GB, free: 34.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.356, allocations: 4 kB / 1.131 GB, free: 34.35 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/1.356, allocations: 7.219 kB / 1.131 GB, free: 34.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.356, allocations: 0 / 1.131 GB, free: 34.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.356, allocations: 0 / 1.131 GB, free: 34.35 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/1.357, allocations: 226.4 kB / 1.131 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/1.357, allocations: 107.1 kB / 1.131 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/1.357, allocations: 4 kB / 1.131 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/1.357, allocations: 18.48 kB / 1.131 GB, free: 34.01 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/1.357, allocations: 22.77 kB / 1.131 GB, free: 34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/1.357, allocations: 4 kB / 1.131 GB, free: 34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.059e-05/1.357, allocations: 138.9 kB / 1.131 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.357, allocations: 0 / 1.131 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002712/1.357, allocations: 50.17 kB / 1.131 GB, free: 33.85 MB / 0.7448 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.0007101/1.358, allocations: 0.8335 MB / 1.132 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000213/1.358, allocations: 102.5 kB / 1.132 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.358, allocations: 0 / 1.132 GB, free: 32.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.166e-05/1.358, allocations: 49.31 kB / 1.132 GB, free: 32.94 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/1.359, allocations: 47.3 kB / 1.132 GB, free: 32.92 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/1.359, allocations: 287.5 kB / 1.133 GB, free: 32.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/1.36, allocations: 0.7251 MB / 1.133 GB, free: 31.94 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001042/1.36, allocations: 34.28 kB / 1.133 GB, free: 31.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.888e-05/1.36, allocations: 48.72 kB / 1.133 GB, free: 31.9 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/1.36, allocations: 4 kB / 1.133 GB, free: 31.9 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/1.376, allocations: 4.993 MB / 1.138 GB, free: 29.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/1.376, allocations: 226.3 kB / 1.138 GB, free: 28.83 MB / 0.7448 GB 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/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.c:7: In file included from ./Buildings_8_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 -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/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.o Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c In file included from Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.c:7: In file included from ./Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/plotFree.c:10:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_functions.o] Error 1